summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-10-03 18:42:30 +0000
committerChris Lattner <sabre@nondot.org>2010-10-03 18:42:30 +0000
commitcc07d7116a7d398b2e1da9ad8bc17f7bf74164f5 (patch)
treec89d0ef5aa7a5826458b6db1154125cc4339a8d0 /test
parentf132fa0e74b5faa5f7095cbe0dcf87e72939b588 (diff)
add support for the prefetch/prefetchw instructions, move femms into
the right file. The assembler supports all the 3dnow instructions now, but not the "3dnowa" ones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/X86/3DNow.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/X86/3DNow.s b/test/MC/X86/3DNow.s
index 1ce89c619fc..b66385dabf8 100644
--- a/test/MC/X86/3DNow.s
+++ b/test/MC/X86/3DNow.s
@@ -66,3 +66,11 @@ pi2fd %mm2, %mm1
// CHECK: pmulhrw %mm2, %mm1 # encoding: [0x0f,0x0f,0xca,0xb7]
pmulhrw %mm2, %mm1
+
+// CHECK: femms # encoding: [0x0f,0x0e]
+femms
+
+// CHECK: prefetch (%rax) # encoding: [0x0f,0x0d,0x00]
+// CHECK: prefetchw (%rax) # encoding: [0x0f,0x0d,0x08]
+prefetch (%rax)
+prefetchw (%rax)