diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/microblaze/allinsn.d | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/microblaze/allinsn.s | 8 |
3 files changed, 19 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index f460b47..2661ff4 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2012-11-21 David Holsgrove <david.holsgrove@xilinx.com> + * gas/microblaze/allinsn.s: Add swapb, swaph + * gas/microblaze/allinsn.d: Likewise + +2012-11-21 David Holsgrove <david.holsgrove@xilinx.com> + * gas/microblaze/allinsn.s: Test use of SHR, SLR * gas/microblaze/allinsn.d: Likewise diff --git a/gas/testsuite/gas/microblaze/allinsn.d b/gas/testsuite/gas/microblaze/allinsn.d index 4a03340..b454fdb 100644 --- a/gas/testsuite/gas/microblaze/allinsn.d +++ b/gas/testsuite/gas/microblaze/allinsn.d @@ -41,3 +41,9 @@ Disassembly of section .text: 30: b0000000 imm 0 34: 31600000 addik r11, r0, 0 38: 940bc802 mts rshr, r11 + +0000003c <swapb>: + 3c: 900001e0 swapb r0, r0 + +00000040 <swaph>: + 40: 900001e2 swaph r0, r0 diff --git a/gas/testsuite/gas/microblaze/allinsn.s b/gas/testsuite/gas/microblaze/allinsn.s index 437444f..ffe91ca 100644 --- a/gas/testsuite/gas/microblaze/allinsn.s +++ b/gas/testsuite/gas/microblaze/allinsn.s @@ -46,4 +46,12 @@ regslr: regshr: la r11,r0,r0 mts rshr,r11 + .text + .global swapb +swapb: + swapb r0,r0 + .text + .global swaph +swaph: + swaph r0,r0 |