fp.isa (7367:8c3ec534f022) fp.isa (7368:3053e3587124)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

525 vm = (bits(machInst, 5) << 5) |
526 (bits(machInst, 3, 0) << 1);
527 vn = (bits(machInst, 7) << 5) |
528 (bits(machInst, 19, 16) << 1);
529 return new VaddD(machInst, (IntRegIndex)vd,
530 (IntRegIndex)vn, (IntRegIndex)vm);
531 }
532 } else {
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

525 vm = (bits(machInst, 5) << 5) |
526 (bits(machInst, 3, 0) << 1);
527 vn = (bits(machInst, 7) << 5) |
528 (bits(machInst, 19, 16) << 1);
529 return new VaddD(machInst, (IntRegIndex)vd,
530 (IntRegIndex)vn, (IntRegIndex)vm);
531 }
532 } else {
533 return new WarnUnimplemented("vsub", machInst);
533 uint32_t vd;
534 uint32_t vm;
535 uint32_t vn;
536 if (bits(machInst, 8) == 0) {
537 vd = bits(machInst, 22) | (bits(machInst, 15, 12) << 1);
538 vm = bits(machInst, 5) | (bits(machInst, 3, 0) << 1);
539 vn = bits(machInst, 7) | (bits(machInst, 19, 16) << 1);
540 return new VsubS(machInst, (IntRegIndex)vd,
541 (IntRegIndex)vn, (IntRegIndex)vm);
542 } else {
543 vd = (bits(machInst, 22) << 5) |
544 (bits(machInst, 15, 12) << 1);
545 vm = (bits(machInst, 5) << 5) |
546 (bits(machInst, 3, 0) << 1);
547 vn = (bits(machInst, 7) << 5) |
548 (bits(machInst, 19, 16) << 1);
549 return new VsubD(machInst, (IntRegIndex)vd,
550 (IntRegIndex)vn, (IntRegIndex)vm);
551 }
534 }
535 case 0x8:
536 if ((opc3 & 0x1) == 0) {
537 return new WarnUnimplemented("vdiv", machInst);
538 }
539 break;
540 case 0xb:
541 if ((opc3 & 0x1) == 0) {

--- 110 unchanged lines hidden ---
552 }
553 case 0x8:
554 if ((opc3 & 0x1) == 0) {
555 return new WarnUnimplemented("vdiv", machInst);
556 }
557 break;
558 case 0xb:
559 if ((opc3 & 0x1) == 0) {

--- 110 unchanged lines hidden ---