aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/i386/padlock.d6
-rw-r--r--gas/testsuite/gas/i386/padlock.s6
3 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 465b4e4..7f42e59 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-30 Michal Ludvig <mludvig@suse.cz>
+
+ * gas/i386/padlock.s, gas/i386/padlock.d: New tests for
+ VIA PadLock instructions.
+
2004-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* gas/sh/basic.exp: Don't do sh2a test for sh5.
diff --git a/gas/testsuite/gas/i386/padlock.d b/gas/testsuite/gas/i386/padlock.d
index a239a8c..a85f104 100644
--- a/gas/testsuite/gas/i386/padlock.d
+++ b/gas/testsuite/gas/i386/padlock.d
@@ -18,4 +18,10 @@ Disassembly of section .text:
23:[ ]*f3 0f a7 e8 [ ]*repz xcryptofb
27:[ ]*0f a7 c0 [ ]*xstorerng
2a:[ ]*f3 0f a7 c0 [ ]*repz xstorerng
+ 2e:[ ]*f3 0f a6 c0 [ ]*repz montmul
+ 32:[ ]*f3 0f a6 c0 [ ]*repz montmul
+ 36:[ ]*f3 0f a6 c8 [ ]*repz xsha1
+ 3a:[ ]*f3 0f a6 c8 [ ]*repz xsha1
+ 3e:[ ]*f3 0f a6 d0 [ ]*repz xsha256
+ 42:[ ]*f3 0f a6 d0 [ ]*repz xsha256
[ ]*\.\.\.
diff --git a/gas/testsuite/gas/i386/padlock.s b/gas/testsuite/gas/i386/padlock.s
index e0caa41..b4a1950 100644
--- a/gas/testsuite/gas/i386/padlock.s
+++ b/gas/testsuite/gas/i386/padlock.s
@@ -14,5 +14,11 @@ foo:
rep xcryptofb
xstore
rep xstore
+ montmul
+ rep montmul
+ xsha1
+ rep xsha1
+ xsha256
+ rep xsha256
.p2align 4,0