Deleted Added
sdiff udiff text old ( 7258:6e8a3c0a2a40 ) new ( 7290:ea9189fbb84f )
full compact
1// Copyright (c) 2010 ARM Limited
2// All rights reserved
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

--- 565 unchanged lines hidden (view full) ---

574}};
575
576def format Thumb32DataProcReg() {{
577 decode_block = '''
578 {
579 const uint32_t op1 = bits(machInst, 23, 20);
580 const IntRegIndex rn = (IntRegIndex)(uint32_t)bits(machInst, 19, 16);
581 const uint32_t op2 = bits(machInst, 7, 4);
582 if (bits(op1, 3) != 1) {
583 if (op2 == 0) {
584 IntRegIndex rd = (IntRegIndex)(uint32_t)bits(machInst, 11, 8);
585 IntRegIndex rm = (IntRegIndex)(uint32_t)bits(machInst, 3, 0);
586 switch (bits(op1, 2, 0)) {
587 case 0x0:
588 return new MovRegReg(machInst, rd,
589 INTREG_ZERO, rn, rm, LSL);

--- 14 unchanged lines hidden (view full) ---

604 INTREG_ZERO, rn, rm, ASR);
605 case 0x6:
606 return new MovRegReg(machInst, rd,
607 INTREG_ZERO, rn, rm, ROR);
608 case 0x7:
609 return new MovRegRegCc(machInst, rd,
610 INTREG_ZERO, rn, rm, ROR);
611 }
612 }
613 {
614 const IntRegIndex rd =
615 (IntRegIndex)(uint32_t)bits(machInst, 11, 8);
616 const IntRegIndex rm =
617 (IntRegIndex)(uint32_t)bits(machInst, 3, 0);
618 const uint32_t rotation =
619 (uint32_t)bits(machInst, 5, 4) << 3;
620 switch (bits(op1, 2, 0)) {
621 case 0x0:

--- 766 unchanged lines hidden ---