From 826a9f0ec411bdaee6e4b85f79d693579bddc4bf Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 20 Apr 2009 06:34:52 +0000 Subject: [PATCH] Add files left out with previous commit. --- gas/testsuite/gas/i386/intel-expr.d | 13 ++++++++++ gas/testsuite/gas/i386/intel-expr.s | 40 +++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 gas/testsuite/gas/i386/intel-expr.d create mode 100644 gas/testsuite/gas/i386/intel-expr.s diff --git a/gas/testsuite/gas/i386/intel-expr.d b/gas/testsuite/gas/i386/intel-expr.d new file mode 100644 index 00000000000..1b1f937ba2d --- /dev/null +++ b/gas/testsuite/gas/i386/intel-expr.d @@ -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 index 00000000000..7149f695153 --- /dev/null +++ b/gas/testsuite/gas/i386/intel-expr.s @@ -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 -- 2.30.2