diff options
| author | Marina Yatsina <marina.yatsina@intel.com> | 2015-08-11 11:28:10 +0000 |
|---|---|---|
| committer | Marina Yatsina <marina.yatsina@intel.com> | 2015-08-11 11:28:10 +0000 |
| commit | d353c45eafd1754f0c37bdc8960635e98a60e2db (patch) | |
| tree | 3996bfc895bb3e055ee4dac482af890a1c9c5aae /llvm/test | |
| parent | 3b0f87d289b3cd432218cc8e5568e9eb1f77119d (diff) | |
| download | bcm5719-llvm-d353c45eafd1754f0c37bdc8960635e98a60e2db.tar.gz bcm5719-llvm-d353c45eafd1754f0c37bdc8960635e98a60e2db.zip | |
[X86] Fix REPE, REPZ, REPNZ for intel syntax
REPE, REPZ, REPNZ, REPNE should have mnemonics for Intel syntax as well.
Currently using these instructions causes compilation errors for Intel syntax.
Differential Revision: http://reviews.llvm.org/D11794
llvm-svn: 244584
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/X86/intel-syntax.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/intel-syntax.s b/llvm/test/MC/X86/intel-syntax.s index 98bec04f50f..8be9642bc5c 100644 --- a/llvm/test/MC/X86/intel-syntax.s +++ b/llvm/test/MC/X86/intel-syntax.s @@ -688,3 +688,16 @@ imul rbx, 123 // CHECK: imulw $123, %bx // CHECK: imull $123, %ebx // CHECK: imulq $123, %rbx + +repe cmpsb +repz cmpsb +repne cmpsb +repnz cmpsb +// CHECK: rep +// CHECK: cmpsb %es:(%rdi), (%rsi) +// CHECK: rep +// CHECK: cmpsb %es:(%rdi), (%rsi) +// CHECK: repne +// CHECK: cmpsb %es:(%rdi), (%rsi) +// CHECK: repne +// CHECK: cmpsb %es:(%rdi), (%rsi) |

