Add files left out with previous commit.
authorJan Beulich <jbeulich@novell.com>
Mon, 20 Apr 2009 06:34:52 +0000 (06:34 +0000)
committerJan Beulich <jbeulich@novell.com>
Mon, 20 Apr 2009 06:34:52 +0000 (06:34 +0000)
gas/testsuite/gas/i386/intel-expr.d [new file with mode: 0644]
gas/testsuite/gas/i386/intel-expr.s [new file with mode: 0644]

diff --git a/gas/testsuite/gas/i386/intel-expr.d b/gas/testsuite/gas/i386/intel-expr.d
new file mode 100644 (file)
index 0000000..1b1f937
--- /dev/null
@@ -0,0 +1,13 @@
+#objdump: -sj .data
+#name: x86 Intel expressions
+
+.*:     file format .*
+
+Contents of section .data:
+ 0000 00000000 01000000 feffffff fcffffff  .*
+ 0010 05000000 03000000 12000000 0[17]000000  .*
+ 0020 03000000 40020000 00000000 08000000  .*
+ 0030 05000000 0f000000 ffffffff 00000000  .*
+ 0040 ffffffff 00000000 ffffffff 00000000  .*
+ 0050 01020406 080a1010 20cccccc cccccccc  .*
+ 0060 02ff05ff 04ff06ff 08ff06ff cccccccc  .*
diff --git a/gas/testsuite/gas/i386/intel-expr.s b/gas/testsuite/gas/i386/intel-expr.s
new file mode 100644 (file)
index 0000000..7149f69
--- /dev/null
@@ -0,0 +1,40 @@
+       .intel_syntax
+       .data
+
+       .long   0
+       .long   + 1
+       .long   - 2
+       .long   not 3
+       .long   4 + 1
+       .long   5 - 2
+       .long   6 * 3
+       .long   7 / 4
+       .long   8 mod 5
+       .long   9 shl 6
+       .long   10 shr 7
+       .long   11 and 8
+       .long   12 xor 9
+       .long   13 or 10
+       .long   14 eq 14
+       .long   15 ne 15
+       .long   16 le 16
+       .long   17 lt 17
+       .long   18 ge 18
+       .long   19 gt 19
+
+       .p2align 4, 0xcc
+
+       .byte   byte, word, dword, fword, qword, tbyte, oword, xmmword, ymmword
+
+       .p2align 4, 0xcc
+
+       .code16
+       .word   near, far
+
+       .code32
+       .word   near, far
+
+       .code64
+       .word   near, far
+
+       .p2align 4, 0xcc