VirtualBox

Ignore:
Timestamp:
Aug 25, 2024 1:39:38 PM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164577
Message:

Disassembler/ARMv8: Implement decoding of the ldr/str (pre-/post-indexed) variant instructions and add testcases, bugref:10394

Location:
trunk/src/VBox/Disassembler/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/testcase/tstDisasmArmv8-1-asm.S

    r105857 r105858  
    456456        ldp x0, x1, [x28, #504]
    457457
     458        ldp w0, w1, [x28, #4]!
     459        ldp w0, w1, [x28, #-256]!
     460        ldp w0, w1, [x28, #252]!
     461
     462        ldp x0, x1, [x28, #8]!
     463        ldp x0, x1, [x28, #-512]!
     464        ldp x0, x1, [x28, #504]!
     465
     466        ldp w0, w1, [x28], #4
     467        ldp w0, w1, [x28], #-256
     468        ldp w0, w1, [x28], #252
     469
     470        ldp x0, x1, [x28], #8
     471        ldp x0, x1, [x28], #-512
     472        ldp x0, x1, [x28], #504
     473
    458474        ldr  x0, [x1, x2]
    459475        ldr  w0, [x1, x2]
     
    551567        stp x0, x1, [x28, #-512]
    552568        stp x0, x1, [x28, #504]
     569
     570        stp w0, w1, [x28, #4]!
     571        stp w0, w1, [x28, #-256]!
     572        stp w0, w1, [x28, #252]!
     573
     574        stp x0, x1, [x28, #8]!
     575        stp x0, x1, [x28, #-512]!
     576        stp x0, x1, [x28, #504]!
     577
     578        stp w0, w1, [x28], #4
     579        stp w0, w1, [x28], #-256
     580        stp w0, w1, [x28], #252
     581
     582        stp x0, x1, [x28], #8
     583        stp x0, x1, [x28], #-512
     584        stp x0, x1, [x28], #504
    553585
    554586        str  x0, [x1, x2]
  • trunk/src/VBox/Disassembler/testcase/tstDisasmArmv8-1.cpp

    r105857 r105858  
    9393    { RT_STR_TUPLE("["),                        RTSCRIPTLEXTOKTYPE_PUNCTUATOR, false, 0 },
    9494    { RT_STR_TUPLE("]"),                        RTSCRIPTLEXTOKTYPE_PUNCTUATOR, false, 0 },
     95    { RT_STR_TUPLE("!"),                        RTSCRIPTLEXTOKTYPE_PUNCTUATOR, false, 0 },
    9596    { NULL, 0,                                  RTSCRIPTLEXTOKTYPE_INVALID,    false, 0 }
    9697};
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette