aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/i386/intel.d2
-rw-r--r--gas/testsuite/gas/i386/intel.s3
3 files changed, 11 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 1b0b40f..5dc3e50 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/i386/intel.s: Add tests for fidivr.
+
+ * gas/i386/intel.d: Updated.
+
2008-08-26 Jie Zhang <jie.zhang@analog.com>
* gas/bfin/arith_mode.d: New test.
diff --git a/gas/testsuite/gas/i386/intel.d b/gas/testsuite/gas/i386/intel.d
index 5a764b4..ac9c336 100644
--- a/gas/testsuite/gas/i386/intel.d
+++ b/gas/testsuite/gas/i386/intel.d
@@ -688,4 +688,6 @@ Disassembly of section .text:
[ ]*[a-f0-9]+: de e3 fsubp %st,%st\(3\)
[ ]*[a-f0-9]+: de e3 fsubp %st,%st\(3\)
[ ]*[a-f0-9]+: de e3 fsubp %st,%st\(3\)
+[ ]*[a-f0-9]+: de 3b fidivr \(%ebx\)
+[ ]*[a-f0-9]+: da 3b fidivrl \(%ebx\)
#pass
diff --git a/gas/testsuite/gas/i386/intel.s b/gas/testsuite/gas/i386/intel.s
index 6b42343..288ad0e 100644
--- a/gas/testsuite/gas/i386/intel.s
+++ b/gas/testsuite/gas/i386/intel.s
@@ -686,3 +686,6 @@ fsubrp
fsubrp st(3)
fsubrp st(3),st
fsubrp st,st(3)
+
+fidivr word ptr [ebx]
+fidivr dword ptr [ebx]