diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2013-04-22 13:20:32 -0400 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2013-04-22 13:20:32 -0400 |
commit | 1c529a4196a5f9efcce5c639622d5b55912a472b (patch) | |
tree | 52db6a75250edaf7c6ce5b0c53d0feeb2e54011b /util/ccdrv | |
parent | 32ecd72b6edc1f33ce757da0b0a8032c31582a7e (diff) | |
download | gem5-1c529a4196a5f9efcce5c639622d5b55912a472b.tar.xz |
sim: Add a helper function to execute pseudo instructions
All architectures execute m5 pseudo instructions by setting up
arguments according to the ABI and executing a magic instruction that
contains an operation number. Handling of such instructions is
currently spread across the different ISA implementations. This
changeset introduces the PseudoInst::pseudoInst function which handles
most of this in an architecture independent way. This is function is
mainly intended to be used from KVM, but can also be used from the
simulated CPUs.
Diffstat (limited to 'util/ccdrv')
0 files changed, 0 insertions, 0 deletions