aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobody <>2004-03-12 13:37:39 +0000
committernobody <>2004-03-12 13:37:39 +0000
commitca9c30b3bc45559784c8d133c5219218609afafd (patch)
tree1ab2cf149bafd5310577a83bb68ef65e2b340278
parent89868710132e7651d1fabdab54836e0a303b0533 (diff)
downloadgdb-ca9c30b3bc45559784c8d133c5219218609afafd.zip
gdb-ca9c30b3bc45559784c8d133c5219218609afafd.tar.gz
gdb-ca9c30b3bc45559784c8d133c5219218609afafd.tar.bz2
This commit was manufactured by cvs2svn to create branch 'binutils-
2_15-branch'. Cherrypick from master 2004-03-12 13:37:38 UTC Michal Ludvig <mludvig@suse.cz> '2004-03-12 Michal Ludvig <mludvig@suse.cz>': gas/testsuite/gas/i386/padlock.d gas/testsuite/gas/i386/padlock.s
-rw-r--r--gas/testsuite/gas/i386/padlock.d20
-rw-r--r--gas/testsuite/gas/i386/padlock.s16
2 files changed, 36 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/padlock.d b/gas/testsuite/gas/i386/padlock.d
new file mode 100644
index 0000000..36532c4
--- /dev/null
+++ b/gas/testsuite/gas/i386/padlock.d
@@ -0,0 +1,20 @@
+#objdump: -dw
+#name: i386 padlock
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+00000000 <foo>:
+ 0:[ ]*0f a7 c0 [ ]*xstorerng
+ 3:[ ]*f3 0f a7 c0 [ ]*repz xstorerng
+ 7:[ ]*f3 0f a7 c8 [ ]*repz xcryptecb
+ b:[ ]*f3 0f a7 c8 [ ]*repz xcryptecb
+ f:[ ]*f3 0f a7 d0 [ ]*repz xcryptcbc
+ 13:[ ]*f3 0f a7 d0 [ ]*repz xcryptcbc
+ 17:[ ]*f3 0f a7 e0 [ ]*repz xcryptcfb
+ 1b:[ ]*f3 0f a7 e0 [ ]*repz xcryptcfb
+ 1f:[ ]*f3 0f a7 e8 [ ]*repz xcryptofb
+ 23:[ ]*f3 0f a7 e8 [ ]*repz xcryptofb
+ 27:[ ]*0f a7 c0 [ ]*xstorerng
+ 2a:[ ]*f3 0f a7 c0 [ ]*repz xstorerng
diff --git a/gas/testsuite/gas/i386/padlock.s b/gas/testsuite/gas/i386/padlock.s
new file mode 100644
index 0000000..305c2fe
--- /dev/null
+++ b/gas/testsuite/gas/i386/padlock.s
@@ -0,0 +1,16 @@
+# VIA Nehemiah PadLock instructions
+
+ .text
+foo:
+ xstorerng
+ rep xstorerng
+ xcryptecb
+ rep xcryptecb
+ xcryptcbc
+ rep xcryptcbc
+ xcryptcfb
+ rep xcryptcfb
+ xcryptofb
+ rep xcryptofb
+ xstore
+ rep xstore