the immediate field of pshufw is actually an 8-bit field, not a 8-bit field that is sign extended. This fixes PR8288

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115473 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-10-03 19:09:13 +00:00
parent 0febc4657b
commit 591d76ea5a
3 changed files with 8 additions and 3 deletions

View File

@@ -585,3 +585,8 @@ ljmp $0x7ace,$0x7ace
// CHECK: pshufw $14, %mm4, %mm0 # encoding: [0x0f,0x70,0xc4,0x0e]
pshufw $14, %mm4, %mm0
// CHECK: pshufw $90, %mm4, %mm0 # encoding: [0x0f,0x70,0xc4,0x5a]
// PR8288
pshufw $90, %mm4, %mm0