Fix small bug in ThumbExpandImm_C; arguments to a call to 'bits' were
in the wrong order. llvm-svn: 128237
This commit is contained in:
parent
f170f8bff6
commit
466327d604
|
@ -267,7 +267,7 @@ static inline uint32_t ThumbExpandImm_C(uint32_t opcode, uint32_t carry_in, uint
|
|||
|
||||
if (bits(imm12, 11, 10) == 0)
|
||||
{
|
||||
switch (bits(imm12, 8, 9)) {
|
||||
switch (bits(imm12, 9, 8)) {
|
||||
case 0:
|
||||
imm32 = abcdefgh;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue