gas/
authorJan Beulich <jbeulich@novell.com>
Thu, 27 Jan 2005 09:12:51 +0000 (09:12 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 27 Jan 2005 09:12:51 +0000 (09:12 +0000)
2005-01-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".

gas/testsuite/
2005-01-27  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/nop_x.[ds]: New.
* gas/ia64/ia64.exp: Run new test.

gas/ChangeLog
gas/config/tc-ia64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/ia64/ia64.exp
gas/testsuite/gas/ia64/nop_x.d [new file with mode: 0644]
gas/testsuite/gas/ia64/nop_x.s [new file with mode: 0644]

index 5fe349f..36b50a8 100644 (file)
@@ -1,4 +1,8 @@
-2005-01-25  Jan Beulich  <jbeulich@novell.com>
+2005-01-27  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
+
+2005-01-27  Jan Beulich  <jbeulich@novell.com>
 
        * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
        to/from application registers dynamic insns.
index d065449..24fbadd 100644 (file)
@@ -6387,7 +6387,7 @@ emit_one_bundle ()
          else
            as_fatal ("emit_one_bundle: unexpected dynamic op");
 
-         sprintf (mnemonic, "%s.%c", idesc->name, "?imbf??"[insn_unit]);
+         sprintf (mnemonic, "%s.%c", idesc->name, "?imbfxx"[insn_unit]);
          opnd1 = idesc->operands[0];
          opnd2 = idesc->operands[1];
          ia64_free_opcode (idesc);
index 71a6567..0e63736 100644 (file)
@@ -1,4 +1,9 @@
-2005-01-25  Jan Beulich  <jbeulich@novell.com>
+2005-01-27  Jan Beulich  <jbeulich@novell.com>
+
+       * gas/ia64/nop_x.[ds]: New.
+       * gas/ia64/ia64.exp: Run new test.
+
+2005-01-27  Jan Beulich  <jbeulich@novell.com>
 
        * gas/ia64/dv-waw-err.l: Don't expect ar112 move warning to refer to
        M-unit.
index 89d3965..d004bc2 100644 (file)
@@ -24,6 +24,7 @@ if [istarget "ia64-*"] then {
     run_dump_test "opc-i"
     run_dump_test "opc-m"
     run_dump_test "opc-x"
+    run_dump_test "nop_x"
     run_dump_test "mov-ar"
 
     run_list_test "dv-raw-err" ""
diff --git a/gas/testsuite/gas/ia64/nop_x.d b/gas/testsuite/gas/ia64/nop_x.d
new file mode 100644 (file)
index 0000000..add1414
--- /dev/null
@@ -0,0 +1,11 @@
+# objdump: -d
+# name: ia64 nop.x pseudo
+
+.*: +file format .*
+
+Disassembly of section \.text:
+
+0+0 <_start>:
+[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+\[MLX][[:space:]]+nop.m 0x0
+[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+nop.x 0x0;;
+[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+
diff --git a/gas/testsuite/gas/ia64/nop_x.s b/gas/testsuite/gas/ia64/nop_x.s
new file mode 100644 (file)
index 0000000..33c7e0c
--- /dev/null
@@ -0,0 +1,5 @@
+_start:
+{.mlx
+       nop     0
+       nop     0
+} ;;