summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-20 01:23:41 +0000
committerDan Gohman <gohman@apple.com>2010-05-20 01:23:41 +0000
commitee5673b622de7684c20b265f15a7563c573f452a (patch)
treeef0a8c768d7c8ed8da5567e9dd5a8c3ad90db3ce /test/MC
parent51f5d6af8c45bf145808ced9e867ac711acc9955 (diff)
downloadllvm-ee5673b622de7684c20b265f15a7563c573f452a.tar.gz
llvm-ee5673b622de7684c20b265f15a7563c573f452a.tar.bz2
llvm-ee5673b622de7684c20b265f15a7563c573f452a.tar.xz
Fix the sfence instruction to use MRM_F8 instead of MRM7r, since it
doesn't have a register operand. Also, use I instead of PSI, for consistency with mfence and lfence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104203 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/X86/x86_32-new-encoder.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-new-encoder.s b/test/MC/AsmParser/X86/x86_32-new-encoder.s
index bc716da829..2400f5ad01 100644
--- a/test/MC/AsmParser/X86/x86_32-new-encoder.s
+++ b/test/MC/AsmParser/X86/x86_32-new-encoder.s
@@ -1,5 +1,8 @@
// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
+ sfence
+// CHECK: sfence
+// CHECK: encoding: [0x0f,0xae,0xf8]
lfence
// CHECK: lfence
// CHECK: encoding: [0x0f,0xae,0xe8]