Changeset 106734 in vbox
- Timestamp:
- Oct 28, 2024 8:01:45 AM (5 months ago)
- svn:sync-xref-src-repo-rev:
- 165617
- Location:
- trunk/src/VBox/Disassembler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmTables-armv8-a64.cpp
r106706 r106734 606 606 607 607 608 /* CCMN/CCMP */ 609 DIS_ARMV8_DECODE_INSN_CLASS_DEFINE_DECODER(CondCmpImm) 610 DIS_ARMV8_INSN_DECODE(kDisParmParseSf, 31, 1, DIS_ARMV8_INSN_PARAM_UNSET), 611 DIS_ARMV8_INSN_DECODE(kDisParmParseGprZr, 5, 5, 0 /*idxParam*/), 612 DIS_ARMV8_INSN_DECODE(kDisParmParseImm, 16, 5, 1 /*idxParam*/), 613 DIS_ARMV8_INSN_DECODE(kDisParmParseImm, 0, 4, 2 /*idxParam*/), 614 DIS_ARMV8_INSN_DECODE(kDisParmParseCond, 12, 4, 3 /*idxParam*/), 615 DIS_ARMV8_DECODE_INSN_CLASS_DEFINE_BEGIN(CondCmpImm) 616 DIS_ARMV8_OP(0x3a400800, "ccmn", OP_ARMV8_A64_CCMN, DISOPTYPE_HARMLESS), 617 DIS_ARMV8_OP(0x7a400800, "ccmp", OP_ARMV8_A64_CCMP, DISOPTYPE_HARMLESS) 618 DIS_ARMV8_DECODE_INSN_CLASS_DEFINE_END(CondCmpImm, 0x7fe00c10 /*fFixedInsn*/, 619 kDisArmV8OpcDecodeNop, RT_BIT_32(30), 30); 620 621 608 622 /** 609 623 * C4.1.95 - Data Processing - Register … … 614 628 DIS_ARMV8_DECODE_MAP_DEFINE_BEGIN(CondCmp) 615 629 DIS_ARMV8_DECODE_MAP_ENTRY(CondCmpReg), /* Conditional compare register */ 616 DIS_ARMV8_DECODE_MAP_ INVALID_ENTRY, /** @todoConditional compare immediate */630 DIS_ARMV8_DECODE_MAP_ENTRY(CondCmpImm), /* Conditional compare immediate */ 617 631 DIS_ARMV8_DECODE_MAP_DEFINE_END(CondCmp, RT_BIT_32(11), 11); 618 632 -
trunk/src/VBox/Disassembler/testcase/tstDisasmArmv8-1-asm.S
r106706 r106734 1415 1415 ccmn w0, w1, #0xf, al 1416 1416 1417 ccmp x0, #31, #0x3, eq 1418 ccmp w0, #30, #0xf, eq 1419 ccmp x0, #29, #0x3, ne 1420 ccmp w0, #28, #0xf, ne 1421 ccmp x0, #27, #0x3, cs 1422 ccmp w0, #26, #0xf, cc 1423 ccmp x0, #25, #0x3, mi 1424 ccmp w0, #24, #0xf, mi 1425 ccmp x0, #23, #0x3, pl 1426 ccmp w0, #22, #0xf, vs 1427 ccmp x0, #21, #0x3, vc 1428 ccmp w0, #20, #0xf, vc 1429 ccmp x0, #19, #0x3, hi 1430 ccmp w0, #18, #0xf, hi 1431 ccmp x0, #17, #0x3, ls 1432 ccmp w0, #16, #0xf, ls 1433 ccmp x0, #15, #0x3, ge 1434 ccmp w0, #14, #0xf, ge 1435 ccmp x0, #13, #0x3, lt 1436 ccmp w0, #12, #0xf, lt 1437 ccmp x0, #11, #0x3, gt 1438 ccmp w0, #10, #0xf, gt 1439 ccmp x0, #9, #0x3, le 1440 ccmp w0, #8, #0xf, le 1441 ccmp x0, #7, #0x3, al 1442 ccmp w0, #0, #0xf, al 1443 1444 ccmn x0, #31, #0x3, eq 1445 ccmn w0, #30, #0xf, eq 1446 ccmn x0, #29, #0x3, ne 1447 ccmn w0, #28, #0xf, ne 1448 ccmn x0, #27, #0x3, cs 1449 ccmn w0, #26, #0xf, cc 1450 ccmn x0, #25, #0x3, mi 1451 ccmn w0, #24, #0xf, mi 1452 ccmn x0, #23, #0x3, pl 1453 ccmn w0, #22, #0xf, vs 1454 ccmn x0, #21, #0x3, vc 1455 ccmn w0, #20, #0xf, vc 1456 ccmn x0, #19, #0x3, hi 1457 ccmn w0, #18, #0xf, hi 1458 ccmn x0, #17, #0x3, ls 1459 ccmn w0, #16, #0xf, ls 1460 ccmn x0, #15, #0x3, ge 1461 ccmn w0, #8, #0xf, ge 1462 ccmn x0, #7, #0x3, lt 1463 ccmn w0, #6, #0xf, lt 1464 ccmn x0, #5, #0x3, gt 1465 ccmn w0, #4, #0xf, gt 1466 ccmn x0, #3, #0x3, le 1467 ccmn w0, #2, #0xf, le 1468 ccmn x0, #1, #0x3, al 1469 ccmn w0, #0, #0xf, al 1470 1417 1471 msr spsel, #1 1418 1472 msr spsel, #0
Note:
See TracChangeset
for help on using the changeset viewer.