diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-12 01:06:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-12 01:06:22 +0000 |
commit | c4d3f662fc2e907ea2c76aca8ec1971e43f89c98 (patch) | |
tree | 3ff3b094cace7f979fcdb656ad8159b040628486 /test | |
parent | 6ae7bbb5ea15ec11fa516fc920719f5d9c1abb00 (diff) | |
download | external_llvm-c4d3f662fc2e907ea2c76aca8ec1971e43f89c98.zip external_llvm-c4d3f662fc2e907ea2c76aca8ec1971e43f89c98.tar.gz external_llvm-c4d3f662fc2e907ea2c76aca8ec1971e43f89c98.tar.bz2 |
fix the encodings of monitor and mwait, which were completely
busted in both encoders. I'm not bothering to fix it in the
old one at this point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/AsmParser/X86/x86_32-new-encoder.s | 14 |
1 files changed, 14 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 new file mode 100644 index 0000000..5c47885 --- /dev/null +++ b/test/MC/AsmParser/X86/x86_32-new-encoder.s @@ -0,0 +1,14 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding --enable-new-x86-encoder %s | FileCheck %s + + lfence +// CHECK: lfence +// CHECK: encoding: [0x0f,0xae,0xe8] + mfence +// CHECK: mfence +// CHECK: encoding: [0x0f,0xae,0xf0] + monitor +// CHECK: monitor +// CHECK: encoding: [0x0f,0x01,0xc8] + mwait +// CHECK: mwait +// CHECK: encoding: [0x0f,0x01,0xc9]
\ No newline at end of file |