diff options
| author | Craig Topper <craig.topper@gmail.com> | 2013-01-06 20:39:29 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2013-01-06 20:39:29 +0000 |
| commit | 4f1c7256f9e7c63be7de9e1e2a4083e3bb1d5c38 (patch) | |
| tree | 9ccd4373760fd6a3598ce5397e709b20805ca338 /llvm/test/CodeGen/X86/x86-64-dead-stack-adjust.ll | |
| parent | 5f3c9200e5980b9f1580c9a361db84b279f3073f (diff) | |
| download | bcm5719-llvm-4f1c7256f9e7c63be7de9e1e2a4083e3bb1d5c38.tar.gz bcm5719-llvm-4f1c7256f9e7c63be7de9e1e2a4083e3bb1d5c38.zip | |
Fix suffix handling for parsing and printing of cvtsi2ss, cvtsi2sd, cvtss2si, cvttss2si, cvtsd2si, and cvttsd2si to match gas behavior.
cvtsi2* should parse with an 'l' or 'q' suffix or no suffix at all. No suffix should be treated the same as 'l' suffix. Printing should always print a suffix. Previously we didn't parse or print an 'l' suffix.
cvtt*2si/cvt*2si should parse with an 'l' or 'q' suffix or not suffix at all. No suffix should use the destination register size to choose encoding. Printing should not print a suffix.
Original 'l' suffix issue with cvtsi2* pointed out by Michael Kuperstein.
llvm-svn: 171668
Diffstat (limited to 'llvm/test/CodeGen/X86/x86-64-dead-stack-adjust.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/x86-64-dead-stack-adjust.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/x86-64-dead-stack-adjust.ll b/llvm/test/CodeGen/X86/x86-64-dead-stack-adjust.ll index 902c9d5ae08..9c01f16f24f 100644 --- a/llvm/test/CodeGen/X86/x86-64-dead-stack-adjust.ll +++ b/llvm/test/CodeGen/X86/x86-64-dead-stack-adjust.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -mcpu=nehalem | not grep rsp -; RUN: llc < %s -mcpu=nehalem | grep cvttsd2siq +; RUN: llc < %s -mcpu=nehalem | grep cvttsd2si target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" target triple = "x86_64-apple-darwin8" |

