summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-07-27 17:23:28 +0530
committerVineet Gupta <vgupta@synopsys.com>2016-09-30 14:48:17 -0700
commitce6365270ecd1216b48fb1440978e454ae0144de (patch)
tree2e46017d408be15aa5834675cd11c06122fc353c /scripts/gcc-plugins/cyc_complexity_plugin.c
parent26c01c49d559268527d78f45a6818fae0c204a45 (diff)
ARCv2: Implement atomic64 based on LLOCKD/SCONDD instructions
ARCv2 ISA provides 64-bit exclusive load/stores so use them to implement the 64-bit atomics and elide the spinlock based generic 64-bit atomics boot tested with atomic64 self-test (and GOD bless the person who wrote them, I realized my inline assmebly is sloppy as hell) Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will.deacon@arm.com> Cc: linux-snps-arc@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions