aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-02-13 19:25:26 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-02-13 19:25:26 +0000
commitc1e6cd61b7a46f7f336745e359e8493339b15bea (patch)
treef5eac8342db0585f62938dc2800ad8a31067dcf7 /gas
parentb44adcf4b700441dbe78b78bdeafc80863f34d84 (diff)
downloadgdb-c1e6cd61b7a46f7f336745e359e8493339b15bea.zip
gdb-c1e6cd61b7a46f7f336745e359e8493339b15bea.tar.gz
gdb-c1e6cd61b7a46f7f336745e359e8493339b15bea.tar.bz2
2005-02-13 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/ia64.exp: Add "operand-or". * gas/ia64/operand-or.d: New file. * gas/ia64/operand-or.s: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/ia64/ia64.exp1
-rw-r--r--gas/testsuite/gas/ia64/operand-or.d29
-rw-r--r--gas/testsuite/gas/ia64/operand-or.s11
4 files changed, 48 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 33dae55..7f4b209 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/ia64/ia64.exp: Add "operand-or".
+
+ * gas/ia64/operand-or.d: New file.
+ * gas/ia64/operand-or.s: Likewise.
+
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/ia64.exp: Pass -munwind-check=error for unwind-err
diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp
index 84688ae..9d628c9 100644
--- a/gas/testsuite/gas/ia64/ia64.exp
+++ b/gas/testsuite/gas/ia64/ia64.exp
@@ -70,4 +70,5 @@ if [istarget "ia64-*"] then {
run_list_test "proc" "-munwind-check=error"
run_list_test "slot2" ""
run_list_test "unwind-err" "-munwind-check=error"
+ run_dump_test "operand-or"
}
diff --git a/gas/testsuite/gas/ia64/operand-or.d b/gas/testsuite/gas/ia64/operand-or.d
new file mode 100644
index 0000000..330ea93
--- /dev/null
+++ b/gas/testsuite/gas/ia64/operand-or.d
@@ -0,0 +1,29 @@
+# objdump: -d --disassemble-zeroes
+# name: ia64 operand-or
+
+.*: +file format .*
+
+Disassembly of section \.text:
+
+0+000 <_start>:
+ 0: 1c 00 00 00 01 00 \[MFB\] nop\.m 0x0
+ 6: 30 20 80 09 28 00 fclass\.m p3,p4=f4,0x180
+ c: 00 00 00 20 nop\.b 0x0
+ 10: 1c 00 00 00 01 00 \[MFB\] nop\.m 0x0
+ 16: 30 20 c0 09 28 00 fclass\.m p3,p4=f4,0x1c0
+ 1c: 00 00 00 20 nop\.b 0x0
+ 20: 1c 00 00 00 01 00 \[MFB\] nop\.m 0x0
+ 26: 30 20 c0 89 28 00 fclass\.m p3,p4=f4,0x1c1
+ 2c: 00 00 00 20 nop\.b 0x0
+ 30: 1c 00 00 00 01 00 \[MFB\] nop\.m 0x0
+ 36: 30 20 c0 89 29 00 fclass\.m p3,p4=f4,0x1c3
+ 3c: 00 00 00 20 nop\.b 0x0
+ 40: 1c 00 00 00 01 00 \[MFB\] nop\.m 0x0
+ 46: 30 20 c8 89 29 00 fclass\.m p3,p4=f4,0x1cb
+ 4c: 00 00 00 20 nop\.b 0x0
+ 50: 1c 00 00 00 01 00 \[MFB\] nop\.m 0x0
+ 56: 30 20 d8 89 29 00 fclass\.m p3,p4=f4,0x1db
+ 5c: 00 00 00 20 nop\.b 0x0
+ 60: 1d 00 00 00 01 00 \[MFB\] nop\.m 0x0
+ 66: 30 20 f8 89 29 00 fclass\.m p3,p4=f4,0x1fb
+ 6c: 00 00 00 20 nop\.b 0x0;;
diff --git a/gas/testsuite/gas/ia64/operand-or.s b/gas/testsuite/gas/ia64/operand-or.s
new file mode 100644
index 0000000..a48a916
--- /dev/null
+++ b/gas/testsuite/gas/ia64/operand-or.s
@@ -0,0 +1,11 @@
+.text
+ .type _start,@function
+_start:
+
+ fclass.m p3, p4 = f4, @nat|@qnan
+ fclass.m p3, p4 = f4, @nat|@qnan|@snan
+ fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos
+ fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg
+ fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg|@unorm
+ fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg|@unorm|@norm
+ fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg|@unorm|@norm|@inf