Fix OperandSize: need clamp-to-32-bit behavior in most cases, but true-width for shifts.

This commit is contained in:
Chris Fallin
2021-12-16 12:32:28 -08:00
parent 1323ae417e
commit fd171ca063
5 changed files with 178 additions and 162 deletions

View File

@@ -888,7 +888,7 @@ block0(v0: i8, v1: i128):
; check: pushq %rbp
; nextln: movq %rsp, %rbp
; nextln: movq %rsi, %rcx
; nextln: shll %cl, %edi
; nextln: shlb %cl, %dil
; nextln: movq %rdi, %rax
; nextln: movq %rbp, %rsp
; nextln: popq %rbp