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 5fe349fecea4bcfd6a3650c6616a8e1772b0659c..36b50a8b554e1d5b7034e8666989c86d30c604ae 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 d065449638a957061a8e96580dd27f40b3b15ec2..24fbadd5e350ef7e095e06de192d6eff1e0a190e 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 71a656706e012e7436e3436144342d5fad2ea3d0..0e6373657583db44d87ab3ee17add243d35d5e4e 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 89d3965e7679fd7646dde07e08d72a35a6fbf5ff..d004bc2cf815365547b100192a6398826f91082b 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
+} ;;