http://llvm.org/bugs/show_bug.cgi?id=14094
Bug #: 14094
Summary: immediate in DecodeThumbAddSPImm has to left shift 2
bits
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: ARM
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
According to ARMv7 document in encoding T2 of SUB (SP minus immediate) section
imm32 = ZeroExtend(imm7:'00', 32);
so the parameter pass to MCOperand::CreateImm(imm) have to be "imm << 2"
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs