DescriptionSubzero: Generate correct code for shifts by a large immediate.
X86 requires an immediate shift value to fit within 8 bits. It's undefined LLVM behavior if it doesn't (or in fact if the value exceeds the number of bits in the type width), but at least we can produce valid x86 instructions.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4316
R=ascull@google.com
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=be4988823a0a069750895c30febd0f01e9477bed
Patch Set 1 #Patch Set 2 : Take a simpler approach by just removing the assembler assert #Patch Set 3 : Change comment #
Messages
Total messages: 5 (1 generated)
|