Improve AMO tests
authorAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 17 Aug 2016 07:37:17 +0000 (00:37 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Wed, 17 Aug 2016 07:38:24 +0000 (00:38 -0700)
commitc8c14a5c4f29655465296fd8e3b2371c6899f604
tree61afce73d9c2754af9b24515b6fb158925ca4e6c
parentef84dc3a8d7a95f3324662f9fb167d24b9dc900a
Improve AMO tests

- avoid code duplication between RV32 and RV64 variants
- make LR/SC do something interesting on uniprocessors
- avoid requiring M extension
env
isa/rv32ua/amoswap_w.S
isa/rv32ua/amoxor_w.S
isa/rv32ua/lrsc.S
isa/rv64ua/amoxor_w.S
isa/rv64ua/lrsc.S