From 0cb5a38a5be39be9e18a1090418d3be97d6b8678 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 1 Jul 2015 16:11:47 -0700 Subject: [PATCH] Assembler tests for Nios II R2 2015-07-01 Sandra Loosemore Cesar Philippidis gas/testsuite/ * gas/nios2/add-r2.d: New. * gas/nios2/align_fill-r2.d: New. * gas/nios2/align_text-r2.d: New. * gas/nios2/aligned_text-r2.d: New. * gas/nios2/and-r2.d: New. * gas/nios2/andc.d: New. * gas/nios2/andc.s: New. * gas/nios2/bmx.d: New. * gas/nios2/bmx.s: New. * gas/nios2/branch-r2.d: New. * gas/nios2/break-r2.d: New. * gas/nios2/bret-r2.d: New. * gas/nios2/cache-r2.d: New. * gas/nios2/cache-r2.s: New. * gas/nios2/call-r2.d: New. * gas/nios2/call26-r2.d: New. * gas/nios2/call26_noat-r2.d: New. * gas/nios2/call_noat-r2.d: New. * gas/nios2/cdx_add.d: New. * gas/nios2/cdx_add.s: New. * gas/nios2/cdx_and.d: New. * gas/nios2/cdx_and.s: New. * gas/nios2/cdx_break.d: New. * gas/nios2/cdx_break.s: New. * gas/nios2/cdx_callr.d: New. * gas/nios2/cdx_callr.s: New. * gas/nios2/cdx_jmpr.d: New. * gas/nios2/cdx_jmpr.s: New. * gas/nios2/cdx_ldbu.d: New. * gas/nios2/cdx_ldbu.s: New. * gas/nios2/cdx_ldhu.d: New. * gas/nios2/cdx_ldhu.s: New. * gas/nios2/cdx_ldw.d: New. * gas/nios2/cdx_ldw.s: New. * gas/nios2/cdx_ldwsp.d: New. * gas/nios2/cdx_ldwsp.s: New. * gas/nios2/cdx_mov.d: New. * gas/nios2/cdx_mov.s: New. * gas/nios2/cdx_neg.d: New. * gas/nios2/cdx_neg.s: New. * gas/nios2/cdx_not.d: New. * gas/nios2/cdx_not.s: New. * gas/nios2/cdx_or.d: New. * gas/nios2/cdx_or.s: New. * gas/nios2/cdx_pop.d: New. * gas/nios2/cdx_pop.s: New. * gas/nios2/cdx_push.d: New. * gas/nios2/cdx_push.s: New. * gas/nios2/cdx_relax.d: New. * gas/nios2/cdx_relax.s: New. * gas/nios2/cdx_ret.d: New. * gas/nios2/cdx_ret.s: New. * gas/nios2/cdx_sll.d: New. * gas/nios2/cdx_sll.s: New. * gas/nios2/cdx_spaddi.d: New. * gas/nios2/cdx_spaddi.s: New. * gas/nios2/cdx_spdeci.d: New. * gas/nios2/cdx_spdeci.s: New. * gas/nios2/cdx_srl.d: New. * gas/nios2/cdx_srl.s: New. * gas/nios2/cdx_stb.d: New. * gas/nios2/cdx_stb.s: New. * gas/nios2/cdx_sth.d: New. * gas/nios2/cdx_sth.s: New. * gas/nios2/cdx_stw.d: New. * gas/nios2/cdx_stw.s: New. * gas/nios2/cdx_stwsp.d: New. * gas/nios2/cdx_stwsp.s: New. * gas/nios2/cdx_sub.d: New. * gas/nios2/cdx_sub.s: New. * gas/nios2/cdx_trap.d: New. * gas/nios2/cdx_trap.s: New. * gas/nios2/cdx_xor.d: New. * gas/nios2/cdx_xor.s: New. * gas/nios2/cmp-r2.d: New. * gas/nios2/comments-r2.d: New. * gas/nios2/complex-r2.d: New. * gas/nios2/ctl-r2.d: New. * gas/nios2/custom-r2.d: New. * gas/nios2/eni.d: New. * gas/nios2/eni.s: New. * gas/nios2/etbt-r2.d: New. * gas/nios2/flushda-r2.d: New. * gas/nios2/jmp-r2.d: New. * gas/nios2/ldb-r2.d: New. * gas/nios2/ldb-r2.s: New. * gas/nios2/ldh-r2.d: New. * gas/nios2/ldh-r2.s: New. * gas/nios2/ldw-r2.d: New. * gas/nios2/ldw-r2.s: New. * gas/nios2/ldwm.d: New. * gas/nios2/ldwm.s: New. * gas/nios2/lineseparator-r2.d: New. * gas/nios2/movia-r2.d: New. * gas/nios2/mpx.d: New. * gas/nios2/mpx.s: New. * gas/nios2/mul-r2.d: New. * gas/nios2/nop-r2.d: New. * gas/nios2/nop-r2.s: New. * gas/nios2/nor-r2.d: New. * gas/nios2/or-r2.d: New. * gas/nios2/rdprs-r2.d: New. * gas/nios2/rdprs-r2.s: New. * gas/nios2/registers-r2.d: New. * gas/nios2/ret-r2.d: New. * gas/nios2/rotate-r2.d: New. * gas/nios2/stb-r2.d: New. * gas/nios2/stb-r2.s: New. * gas/nios2/sth-r2.d: New. * gas/nios2/sth-r2.s: New. * gas/nios2/stw-r2.d: New. * gas/nios2/stw-r2.s: New. * gas/nios2/stwm.d: New. * gas/nios2/stwm.s: New. * gas/nios2/sub-r2.d: New. * gas/nios2/sync-r2.d: New. * gas/nios2/trap-r2.d: New. * gas/nios2/tret-r2.d: New. * gas/nios2/wrpie.d: New. * gas/nios2/wrpie.s: New. * gas/nios2/wrprs-r2.d: New. * gas/nios2/xor-r2.d: New. --- gas/testsuite/ChangeLog | 126 +++++++++++++ gas/testsuite/gas/nios2/add-r2.d | 18 ++ gas/testsuite/gas/nios2/align_fill-r2.d | 25 +++ gas/testsuite/gas/nios2/align_text-r2.d | 24 +++ gas/testsuite/gas/nios2/aligned_text-r2.d | 24 +++ gas/testsuite/gas/nios2/and-r2.d | 19 ++ gas/testsuite/gas/nios2/andc.d | 17 ++ gas/testsuite/gas/nios2/andc.s | 12 ++ gas/testsuite/gas/nios2/bmx.d | 21 +++ gas/testsuite/gas/nios2/bmx.s | 15 ++ gas/testsuite/gas/nios2/branch-r2.d | 23 +++ gas/testsuite/gas/nios2/break-r2.d | 14 ++ gas/testsuite/gas/nios2/bret-r2.d | 10 ++ gas/testsuite/gas/nios2/cache-r2.d | 18 ++ gas/testsuite/gas/nios2/cache-r2.s | 21 +++ gas/testsuite/gas/nios2/call-r2.d | 13 ++ gas/testsuite/gas/nios2/call26-r2.d | 78 ++++++++ gas/testsuite/gas/nios2/call26_noat-r2.d | 78 ++++++++ gas/testsuite/gas/nios2/call_noat-r2.d | 13 ++ gas/testsuite/gas/nios2/cdx_add.d | 19 ++ gas/testsuite/gas/nios2/cdx_add.s | 12 ++ gas/testsuite/gas/nios2/cdx_and.d | 27 +++ gas/testsuite/gas/nios2/cdx_and.s | 20 +++ gas/testsuite/gas/nios2/cdx_break.d | 11 ++ gas/testsuite/gas/nios2/cdx_break.s | 8 + gas/testsuite/gas/nios2/cdx_callr.d | 9 + gas/testsuite/gas/nios2/cdx_callr.s | 6 + gas/testsuite/gas/nios2/cdx_jmpr.d | 11 ++ gas/testsuite/gas/nios2/cdx_jmpr.s | 6 + gas/testsuite/gas/nios2/cdx_ldbu.d | 17 ++ gas/testsuite/gas/nios2/cdx_ldbu.s | 11 ++ gas/testsuite/gas/nios2/cdx_ldhu.d | 17 ++ gas/testsuite/gas/nios2/cdx_ldhu.s | 11 ++ gas/testsuite/gas/nios2/cdx_ldw.d | 17 ++ gas/testsuite/gas/nios2/cdx_ldw.s | 11 ++ gas/testsuite/gas/nios2/cdx_ldwsp.d | 13 ++ gas/testsuite/gas/nios2/cdx_ldwsp.s | 7 + gas/testsuite/gas/nios2/cdx_mov.d | 17 ++ gas/testsuite/gas/nios2/cdx_mov.s | 11 ++ gas/testsuite/gas/nios2/cdx_neg.d | 13 ++ gas/testsuite/gas/nios2/cdx_neg.s | 7 + gas/testsuite/gas/nios2/cdx_not.d | 13 ++ gas/testsuite/gas/nios2/cdx_not.s | 7 + gas/testsuite/gas/nios2/cdx_or.d | 13 ++ gas/testsuite/gas/nios2/cdx_or.s | 7 + gas/testsuite/gas/nios2/cdx_pop.d | 17 ++ gas/testsuite/gas/nios2/cdx_pop.s | 11 ++ gas/testsuite/gas/nios2/cdx_push.d | 17 ++ gas/testsuite/gas/nios2/cdx_push.s | 11 ++ gas/testsuite/gas/nios2/cdx_relax.d | 22 +++ gas/testsuite/gas/nios2/cdx_relax.s | 27 +++ gas/testsuite/gas/nios2/cdx_ret.d | 11 ++ gas/testsuite/gas/nios2/cdx_ret.s | 4 + gas/testsuite/gas/nios2/cdx_sll.d | 21 +++ gas/testsuite/gas/nios2/cdx_sll.s | 14 ++ gas/testsuite/gas/nios2/cdx_spaddi.d | 13 ++ gas/testsuite/gas/nios2/cdx_spaddi.s | 7 + gas/testsuite/gas/nios2/cdx_spdeci.d | 13 ++ gas/testsuite/gas/nios2/cdx_spdeci.s | 7 + gas/testsuite/gas/nios2/cdx_srl.d | 21 +++ gas/testsuite/gas/nios2/cdx_srl.s | 14 ++ gas/testsuite/gas/nios2/cdx_stb.d | 21 +++ gas/testsuite/gas/nios2/cdx_stb.s | 15 ++ gas/testsuite/gas/nios2/cdx_sth.d | 17 ++ gas/testsuite/gas/nios2/cdx_sth.s | 11 ++ gas/testsuite/gas/nios2/cdx_stw.d | 21 +++ gas/testsuite/gas/nios2/cdx_stw.s | 15 ++ gas/testsuite/gas/nios2/cdx_stwsp.d | 13 ++ gas/testsuite/gas/nios2/cdx_stwsp.s | 7 + gas/testsuite/gas/nios2/cdx_sub.d | 19 ++ gas/testsuite/gas/nios2/cdx_sub.s | 12 ++ gas/testsuite/gas/nios2/cdx_trap.d | 11 ++ gas/testsuite/gas/nios2/cdx_trap.s | 8 + gas/testsuite/gas/nios2/cdx_xor.d | 13 ++ gas/testsuite/gas/nios2/cdx_xor.s | 7 + gas/testsuite/gas/nios2/cmp-r2.d | 26 +++ gas/testsuite/gas/nios2/comments-r2.d | 28 +++ gas/testsuite/gas/nios2/complex-r2.d | 14 ++ gas/testsuite/gas/nios2/ctl-r2.d | 22 +++ gas/testsuite/gas/nios2/custom-r2.d | 15 ++ gas/testsuite/gas/nios2/eni.d | 12 ++ gas/testsuite/gas/nios2/eni.s | 7 + gas/testsuite/gas/nios2/etbt-r2.d | 12 ++ gas/testsuite/gas/nios2/flushda-r2.d | 12 ++ gas/testsuite/gas/nios2/jmp-r2.d | 12 ++ gas/testsuite/gas/nios2/ldb-r2.d | 197 +++++++++++++++++++++ gas/testsuite/gas/nios2/ldb-r2.s | 117 ++++++++++++ gas/testsuite/gas/nios2/ldh-r2.d | 197 +++++++++++++++++++++ gas/testsuite/gas/nios2/ldh-r2.s | 117 ++++++++++++ gas/testsuite/gas/nios2/ldw-r2.d | 197 +++++++++++++++++++++ gas/testsuite/gas/nios2/ldw-r2.s | 117 ++++++++++++ gas/testsuite/gas/nios2/ldwm.d | 37 ++++ gas/testsuite/gas/nios2/ldwm.s | 31 ++++ gas/testsuite/gas/nios2/lineseparator-r2.d | 12 ++ gas/testsuite/gas/nios2/movia-r2.d | 22 +++ gas/testsuite/gas/nios2/mpx.d | 14 ++ gas/testsuite/gas/nios2/mpx.s | 9 + gas/testsuite/gas/nios2/mul-r2.d | 21 +++ gas/testsuite/gas/nios2/nop-r2.d | 11 ++ gas/testsuite/gas/nios2/nop-r2.s | 8 + gas/testsuite/gas/nios2/nor-r2.d | 11 ++ gas/testsuite/gas/nios2/or-r2.d | 13 ++ gas/testsuite/gas/nios2/rdprs-r2.d | 32 ++++ gas/testsuite/gas/nios2/rdprs-r2.s | 28 +++ gas/testsuite/gas/nios2/registers-r2.d | 53 ++++++ gas/testsuite/gas/nios2/ret-r2.d | 10 ++ gas/testsuite/gas/nios2/rotate-r2.d | 19 ++ gas/testsuite/gas/nios2/stb-r2.d | 197 +++++++++++++++++++++ gas/testsuite/gas/nios2/stb-r2.s | 117 ++++++++++++ gas/testsuite/gas/nios2/sth-r2.d | 197 +++++++++++++++++++++ gas/testsuite/gas/nios2/sth-r2.s | 117 ++++++++++++ gas/testsuite/gas/nios2/stw-r2.d | 197 +++++++++++++++++++++ gas/testsuite/gas/nios2/stw-r2.s | 117 ++++++++++++ gas/testsuite/gas/nios2/stwm.d | 35 ++++ gas/testsuite/gas/nios2/stwm.s | 29 +++ gas/testsuite/gas/nios2/sub-r2.d | 12 ++ gas/testsuite/gas/nios2/sync-r2.d | 10 ++ gas/testsuite/gas/nios2/trap-r2.d | 12 ++ gas/testsuite/gas/nios2/tret-r2.d | 9 + gas/testsuite/gas/nios2/wrpie.d | 20 +++ gas/testsuite/gas/nios2/wrpie.s | 16 ++ gas/testsuite/gas/nios2/wrprs-r2.d | 21 +++ gas/testsuite/gas/nios2/xor-r2.d | 13 ++ 123 files changed, 3862 insertions(+) create mode 100644 gas/testsuite/gas/nios2/add-r2.d create mode 100644 gas/testsuite/gas/nios2/align_fill-r2.d create mode 100644 gas/testsuite/gas/nios2/align_text-r2.d create mode 100644 gas/testsuite/gas/nios2/aligned_text-r2.d create mode 100644 gas/testsuite/gas/nios2/and-r2.d create mode 100644 gas/testsuite/gas/nios2/andc.d create mode 100644 gas/testsuite/gas/nios2/andc.s create mode 100644 gas/testsuite/gas/nios2/bmx.d create mode 100644 gas/testsuite/gas/nios2/bmx.s create mode 100644 gas/testsuite/gas/nios2/branch-r2.d create mode 100644 gas/testsuite/gas/nios2/break-r2.d create mode 100644 gas/testsuite/gas/nios2/bret-r2.d create mode 100644 gas/testsuite/gas/nios2/cache-r2.d create mode 100644 gas/testsuite/gas/nios2/cache-r2.s create mode 100644 gas/testsuite/gas/nios2/call-r2.d create mode 100644 gas/testsuite/gas/nios2/call26-r2.d create mode 100644 gas/testsuite/gas/nios2/call26_noat-r2.d create mode 100644 gas/testsuite/gas/nios2/call_noat-r2.d create mode 100644 gas/testsuite/gas/nios2/cdx_add.d create mode 100644 gas/testsuite/gas/nios2/cdx_add.s create mode 100644 gas/testsuite/gas/nios2/cdx_and.d create mode 100644 gas/testsuite/gas/nios2/cdx_and.s create mode 100644 gas/testsuite/gas/nios2/cdx_break.d create mode 100644 gas/testsuite/gas/nios2/cdx_break.s create mode 100644 gas/testsuite/gas/nios2/cdx_callr.d create mode 100644 gas/testsuite/gas/nios2/cdx_callr.s create mode 100644 gas/testsuite/gas/nios2/cdx_jmpr.d create mode 100644 gas/testsuite/gas/nios2/cdx_jmpr.s create mode 100644 gas/testsuite/gas/nios2/cdx_ldbu.d create mode 100644 gas/testsuite/gas/nios2/cdx_ldbu.s create mode 100644 gas/testsuite/gas/nios2/cdx_ldhu.d create mode 100644 gas/testsuite/gas/nios2/cdx_ldhu.s create mode 100644 gas/testsuite/gas/nios2/cdx_ldw.d create mode 100644 gas/testsuite/gas/nios2/cdx_ldw.s create mode 100644 gas/testsuite/gas/nios2/cdx_ldwsp.d create mode 100644 gas/testsuite/gas/nios2/cdx_ldwsp.s create mode 100644 gas/testsuite/gas/nios2/cdx_mov.d create mode 100644 gas/testsuite/gas/nios2/cdx_mov.s create mode 100644 gas/testsuite/gas/nios2/cdx_neg.d create mode 100644 gas/testsuite/gas/nios2/cdx_neg.s create mode 100644 gas/testsuite/gas/nios2/cdx_not.d create mode 100644 gas/testsuite/gas/nios2/cdx_not.s create mode 100644 gas/testsuite/gas/nios2/cdx_or.d create mode 100644 gas/testsuite/gas/nios2/cdx_or.s create mode 100644 gas/testsuite/gas/nios2/cdx_pop.d create mode 100644 gas/testsuite/gas/nios2/cdx_pop.s create mode 100644 gas/testsuite/gas/nios2/cdx_push.d create mode 100644 gas/testsuite/gas/nios2/cdx_push.s create mode 100644 gas/testsuite/gas/nios2/cdx_relax.d create mode 100644 gas/testsuite/gas/nios2/cdx_relax.s create mode 100644 gas/testsuite/gas/nios2/cdx_ret.d create mode 100644 gas/testsuite/gas/nios2/cdx_ret.s create mode 100644 gas/testsuite/gas/nios2/cdx_sll.d create mode 100644 gas/testsuite/gas/nios2/cdx_sll.s create mode 100644 gas/testsuite/gas/nios2/cdx_spaddi.d create mode 100644 gas/testsuite/gas/nios2/cdx_spaddi.s create mode 100644 gas/testsuite/gas/nios2/cdx_spdeci.d create mode 100644 gas/testsuite/gas/nios2/cdx_spdeci.s create mode 100644 gas/testsuite/gas/nios2/cdx_srl.d create mode 100644 gas/testsuite/gas/nios2/cdx_srl.s create mode 100644 gas/testsuite/gas/nios2/cdx_stb.d create mode 100644 gas/testsuite/gas/nios2/cdx_stb.s create mode 100644 gas/testsuite/gas/nios2/cdx_sth.d create mode 100644 gas/testsuite/gas/nios2/cdx_sth.s create mode 100644 gas/testsuite/gas/nios2/cdx_stw.d create mode 100644 gas/testsuite/gas/nios2/cdx_stw.s create mode 100644 gas/testsuite/gas/nios2/cdx_stwsp.d create mode 100644 gas/testsuite/gas/nios2/cdx_stwsp.s create mode 100644 gas/testsuite/gas/nios2/cdx_sub.d create mode 100644 gas/testsuite/gas/nios2/cdx_sub.s create mode 100644 gas/testsuite/gas/nios2/cdx_trap.d create mode 100644 gas/testsuite/gas/nios2/cdx_trap.s create mode 100644 gas/testsuite/gas/nios2/cdx_xor.d create mode 100644 gas/testsuite/gas/nios2/cdx_xor.s create mode 100644 gas/testsuite/gas/nios2/cmp-r2.d create mode 100644 gas/testsuite/gas/nios2/comments-r2.d create mode 100644 gas/testsuite/gas/nios2/complex-r2.d create mode 100644 gas/testsuite/gas/nios2/ctl-r2.d create mode 100644 gas/testsuite/gas/nios2/custom-r2.d create mode 100644 gas/testsuite/gas/nios2/eni.d create mode 100644 gas/testsuite/gas/nios2/eni.s create mode 100644 gas/testsuite/gas/nios2/etbt-r2.d create mode 100644 gas/testsuite/gas/nios2/flushda-r2.d create mode 100644 gas/testsuite/gas/nios2/jmp-r2.d create mode 100644 gas/testsuite/gas/nios2/ldb-r2.d create mode 100644 gas/testsuite/gas/nios2/ldb-r2.s create mode 100644 gas/testsuite/gas/nios2/ldh-r2.d create mode 100644 gas/testsuite/gas/nios2/ldh-r2.s create mode 100644 gas/testsuite/gas/nios2/ldw-r2.d create mode 100644 gas/testsuite/gas/nios2/ldw-r2.s create mode 100644 gas/testsuite/gas/nios2/ldwm.d create mode 100644 gas/testsuite/gas/nios2/ldwm.s create mode 100644 gas/testsuite/gas/nios2/lineseparator-r2.d create mode 100644 gas/testsuite/gas/nios2/movia-r2.d create mode 100644 gas/testsuite/gas/nios2/mpx.d create mode 100644 gas/testsuite/gas/nios2/mpx.s create mode 100644 gas/testsuite/gas/nios2/mul-r2.d create mode 100644 gas/testsuite/gas/nios2/nop-r2.d create mode 100644 gas/testsuite/gas/nios2/nop-r2.s create mode 100644 gas/testsuite/gas/nios2/nor-r2.d create mode 100644 gas/testsuite/gas/nios2/or-r2.d create mode 100644 gas/testsuite/gas/nios2/rdprs-r2.d create mode 100644 gas/testsuite/gas/nios2/rdprs-r2.s create mode 100644 gas/testsuite/gas/nios2/registers-r2.d create mode 100644 gas/testsuite/gas/nios2/ret-r2.d create mode 100644 gas/testsuite/gas/nios2/rotate-r2.d create mode 100644 gas/testsuite/gas/nios2/stb-r2.d create mode 100644 gas/testsuite/gas/nios2/stb-r2.s create mode 100644 gas/testsuite/gas/nios2/sth-r2.d create mode 100644 gas/testsuite/gas/nios2/sth-r2.s create mode 100644 gas/testsuite/gas/nios2/stw-r2.d create mode 100644 gas/testsuite/gas/nios2/stw-r2.s create mode 100644 gas/testsuite/gas/nios2/stwm.d create mode 100644 gas/testsuite/gas/nios2/stwm.s create mode 100644 gas/testsuite/gas/nios2/sub-r2.d create mode 100644 gas/testsuite/gas/nios2/sync-r2.d create mode 100644 gas/testsuite/gas/nios2/trap-r2.d create mode 100644 gas/testsuite/gas/nios2/tret-r2.d create mode 100644 gas/testsuite/gas/nios2/wrpie.d create mode 100644 gas/testsuite/gas/nios2/wrpie.s create mode 100644 gas/testsuite/gas/nios2/wrprs-r2.d create mode 100644 gas/testsuite/gas/nios2/xor-r2.d diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 3d4848b6c78..210a0d1b59a 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,129 @@ +2015-07-01 Sandra Loosemore + Cesar Philippidis + + * gas/nios2/add-r2.d: New. + * gas/nios2/align_fill-r2.d: New. + * gas/nios2/align_text-r2.d: New. + * gas/nios2/aligned_text-r2.d: New. + * gas/nios2/and-r2.d: New. + * gas/nios2/andc.d: New. + * gas/nios2/andc.s: New. + * gas/nios2/bmx.d: New. + * gas/nios2/bmx.s: New. + * gas/nios2/branch-r2.d: New. + * gas/nios2/break-r2.d: New. + * gas/nios2/bret-r2.d: New. + * gas/nios2/cache-r2.d: New. + * gas/nios2/cache-r2.s: New. + * gas/nios2/call-r2.d: New. + * gas/nios2/call26-r2.d: New. + * gas/nios2/call26_noat-r2.d: New. + * gas/nios2/call_noat-r2.d: New. + * gas/nios2/cdx_add.d: New. + * gas/nios2/cdx_add.s: New. + * gas/nios2/cdx_and.d: New. + * gas/nios2/cdx_and.s: New. + * gas/nios2/cdx_break.d: New. + * gas/nios2/cdx_break.s: New. + * gas/nios2/cdx_callr.d: New. + * gas/nios2/cdx_callr.s: New. + * gas/nios2/cdx_jmpr.d: New. + * gas/nios2/cdx_jmpr.s: New. + * gas/nios2/cdx_ldbu.d: New. + * gas/nios2/cdx_ldbu.s: New. + * gas/nios2/cdx_ldhu.d: New. + * gas/nios2/cdx_ldhu.s: New. + * gas/nios2/cdx_ldw.d: New. + * gas/nios2/cdx_ldw.s: New. + * gas/nios2/cdx_ldwsp.d: New. + * gas/nios2/cdx_ldwsp.s: New. + * gas/nios2/cdx_mov.d: New. + * gas/nios2/cdx_mov.s: New. + * gas/nios2/cdx_neg.d: New. + * gas/nios2/cdx_neg.s: New. + * gas/nios2/cdx_not.d: New. + * gas/nios2/cdx_not.s: New. + * gas/nios2/cdx_or.d: New. + * gas/nios2/cdx_or.s: New. + * gas/nios2/cdx_pop.d: New. + * gas/nios2/cdx_pop.s: New. + * gas/nios2/cdx_push.d: New. + * gas/nios2/cdx_push.s: New. + * gas/nios2/cdx_relax.d: New. + * gas/nios2/cdx_relax.s: New. + * gas/nios2/cdx_ret.d: New. + * gas/nios2/cdx_ret.s: New. + * gas/nios2/cdx_sll.d: New. + * gas/nios2/cdx_sll.s: New. + * gas/nios2/cdx_spaddi.d: New. + * gas/nios2/cdx_spaddi.s: New. + * gas/nios2/cdx_spdeci.d: New. + * gas/nios2/cdx_spdeci.s: New. + * gas/nios2/cdx_srl.d: New. + * gas/nios2/cdx_srl.s: New. + * gas/nios2/cdx_stb.d: New. + * gas/nios2/cdx_stb.s: New. + * gas/nios2/cdx_sth.d: New. + * gas/nios2/cdx_sth.s: New. + * gas/nios2/cdx_stw.d: New. + * gas/nios2/cdx_stw.s: New. + * gas/nios2/cdx_stwsp.d: New. + * gas/nios2/cdx_stwsp.s: New. + * gas/nios2/cdx_sub.d: New. + * gas/nios2/cdx_sub.s: New. + * gas/nios2/cdx_trap.d: New. + * gas/nios2/cdx_trap.s: New. + * gas/nios2/cdx_xor.d: New. + * gas/nios2/cdx_xor.s: New. + * gas/nios2/cmp-r2.d: New. + * gas/nios2/comments-r2.d: New. + * gas/nios2/complex-r2.d: New. + * gas/nios2/ctl-r2.d: New. + * gas/nios2/custom-r2.d: New. + * gas/nios2/eni.d: New. + * gas/nios2/eni.s: New. + * gas/nios2/etbt-r2.d: New. + * gas/nios2/flushda-r2.d: New. + * gas/nios2/jmp-r2.d: New. + * gas/nios2/ldb-r2.d: New. + * gas/nios2/ldb-r2.s: New. + * gas/nios2/ldh-r2.d: New. + * gas/nios2/ldh-r2.s: New. + * gas/nios2/ldw-r2.d: New. + * gas/nios2/ldw-r2.s: New. + * gas/nios2/ldwm.d: New. + * gas/nios2/ldwm.s: New. + * gas/nios2/lineseparator-r2.d: New. + * gas/nios2/movia-r2.d: New. + * gas/nios2/mpx.d: New. + * gas/nios2/mpx.s: New. + * gas/nios2/mul-r2.d: New. + * gas/nios2/nop-r2.d: New. + * gas/nios2/nop-r2.s: New. + * gas/nios2/nor-r2.d: New. + * gas/nios2/or-r2.d: New. + * gas/nios2/rdprs-r2.d: New. + * gas/nios2/rdprs-r2.s: New. + * gas/nios2/registers-r2.d: New. + * gas/nios2/ret-r2.d: New. + * gas/nios2/rotate-r2.d: New. + * gas/nios2/stb-r2.d: New. + * gas/nios2/stb-r2.s: New. + * gas/nios2/sth-r2.d: New. + * gas/nios2/sth-r2.s: New. + * gas/nios2/stw-r2.d: New. + * gas/nios2/stw-r2.s: New. + * gas/nios2/stwm.d: New. + * gas/nios2/stwm.s: New. + * gas/nios2/sub-r2.d: New. + * gas/nios2/sync-r2.d: New. + * gas/nios2/trap-r2.d: New. + * gas/nios2/tret-r2.d: New. + * gas/nios2/wrpie.d: New. + * gas/nios2/wrpie.s: New. + * gas/nios2/wrprs-r2.d: New. + * gas/nios2/xor-r2.d: New. + 2015-06-30 Amit Pawar * gas/i386/i386.exp: Add new mwaitx test cases. diff --git a/gas/testsuite/gas/nios2/add-r2.d b/gas/testsuite/gas/nios2/add-r2.d new file mode 100644 index 00000000000..99582431fe7 --- /dev/null +++ b/gas/testsuite/gas/nios2/add-r2.d @@ -0,0 +1,18 @@ +#objdump: -dr --prefix-addresses --show-raw-insn +#name: NIOS2 R2 add +#as: -march=r2 +#source: add.s + +# Test the add instruction + +.*: +file format elf32-littlenios2 + +Disassembly of section .text: +0+0000 <[^>]*> c4042120 add r4,r4,r4 +0+0004 <[^>]*> 7fff2104 addi r4,r4,32767 +0+0008 <[^>]*> 80002104 addi r4,r4,-32768 +0+000c <[^>]*> 00002104 addi r4,r4,0 +0+0010 <[^>]*> ffff2104 addi r4,r4,-1 +0+0014 <[^>]*> ffff2104 addi r4,r4,-1 +0+0018 <[^>]*> 34562104 addi r4,r4,13398 +0+001c <[^>]*> c4000020 nop diff --git a/gas/testsuite/gas/nios2/align_fill-r2.d b/gas/testsuite/gas/nios2/align_fill-r2.d new file mode 100644 index 00000000000..8e99882c01f --- /dev/null +++ b/gas/testsuite/gas/nios2/align_fill-r2.d @@ -0,0 +1,25 @@ +#objdump: -dr --prefix-addresses --show-raw-insn +#name: NIOS2 R2 align_fill +#as: -march=r2 +#source: align_fill.s + +# Test the and macro. + +.*: +file format elf32-littlenios2 + +Disassembly of section .text: +0+0000 <[^>]*> fff8dec4 addi sp,sp,-8 +0+0004 <[^>]*> 0004e6f7 stw fp,4\(sp\) +0+0008 <[^>]*> c41c06e0 mov fp,sp +0+000c <[^>]*> c4030020 mov r3,zero +0+0010 <[^>]*> c4000020 nop +0+0014 <[^>]*> c4000020 nop +0+0018 <[^>]*> c4000020 nop +0+001c <[^>]*> c4000020 nop +0+0020 <[^>]*> 000118c4 addi r3,r3,1 +0+0024 <[^>]*> 006410de cmplti r2,r3,100 +0+0028 <[^>]*> fff400a2 bne r2,zero,00000020 <[^>]*> +0+002c <[^>]*> 0004e6d7 ldw fp,4\(sp\) +0+0030 <[^>]*> 0008dec4 addi sp,sp,8 +0+0034 <[^>]*> 140007e0 ret + ... diff --git a/gas/testsuite/gas/nios2/align_text-r2.d b/gas/testsuite/gas/nios2/align_text-r2.d new file mode 100644 index 00000000000..a2f32d954fa --- /dev/null +++ b/gas/testsuite/gas/nios2/align_text-r2.d @@ -0,0 +1,24 @@ +#objdump: -dr +#name: NIOS2 R2 align_test +#as: -march=r2 +#source: align_text.s + +# Test alignment in text sections. + +.*: +file format elf32-littlenios2 + +Disassembly of section .text: +00000000 : + 0: 00000000 call 0 + 4: c4000020 nop + 8: c4000020 nop + c: c4000020 nop + 10: c4000020 nop + 14: c4000020 nop + 18: c4000020 nop + 1c: c4000020 nop + +00000020