PR gas/2101
authorHans-Peter Nilsson <hp@axis.com>
Tue, 3 Jan 2006 05:52:15 +0000 (05:52 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 3 Jan 2006 05:52:15 +0000 (05:52 +0000)
* gas/mmix/hex2.s, gas/mmix/hex2.d: New test.

gas/testsuite/ChangeLog
gas/testsuite/gas/mmix/hex2.d [new file with mode: 0644]
gas/testsuite/gas/mmix/hex2.s [new file with mode: 0644]

index 41a06b34fde1d4bf23d74d7c7b411949eb2328bb..05b6967d03a286e52faf9dffc7713f5100e564cd 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-03  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR gas/2101
+       * gas/mmix/hex2.s, gas/mmix/hex2.d: New test.
+
 2005-12-22  Jan Beulich  <jbeulich@novell.com>
 
        * gas/all/cond.s: Also check .if works on equates to undefined
diff --git a/gas/testsuite/gas/mmix/hex2.d b/gas/testsuite/gas/mmix/hex2.d
new file mode 100644 (file)
index 0000000..9f3294a
--- /dev/null
@@ -0,0 +1,17 @@
+# objdump: -dr
+.*:     file format elf64-mmix
+
+Disassembly of section \.text:
+
+0+ <Main>:
+[      ]+0:[   ]+fd000000[     ]+swym 0,0,0
+[      ]+4:[   ]+e309001f[     ]+setl \$9,0x1f
+[      ]+8:[   ]+e3081b2f[     ]+setl \$8,0x1b2f
+[      ]+c:[   ]+e307ff9f[     ]+setl \$7,0xff9f
+[      ]+10:[  ]+e3061f3a[     ]+setl \$6,0x1f3a
+[      ]+14:[  ]+e305001b[     ]+setl \$5,0x1b
+[      ]+18:[  ]+e3041a1b[     ]+setl \$4,0x1a1b
+[      ]+1c:[  ]+e303009f[     ]+setl \$3,0x9f
+[      ]+20:[  ]+e302009b[     ]+setl \$2,0x9b
+[      ]+24:[  ]+e301001f[     ]+setl \$1,0x1f
+[      ]+28:[  ]+e300001b[     ]+setl \$0,0x1b
diff --git a/gas/testsuite/gas/mmix/hex2.s b/gas/testsuite/gas/mmix/hex2.s
new file mode 100644 (file)
index 0000000..ccdf012
--- /dev/null
@@ -0,0 +1,15 @@
+x:
+ swym
+0:
+ setl $9,#1F
+1:
+ setl $8,#1B2F
+ setl $7,0xFF9F
+ setl $6,#1F3A
+9:
+ setl $5,#1B
+ setl $4,#1A1B
+ setl $3,0x9F
+ setl $2,0x9B
+ setl $1,0x1F
+ setl $0,0x1b
This page took 0.027973 seconds and 4 git commands to generate.