61a62
> #include "base/hashmap.hh"
66a68,77
> namespace __hash_namespace {
> template<>
> struct hash<X86ISA::ExtMachInst> {
> size_t operator()(const X86ISA::ExtMachInst &emi) const {
> //Because these are all the same, return 0
> return 0;
> };
> };
> }
>
75,86d85
< PredecodeResult {
< MoreBytes = 1,
< ExtMIReady = 2
< };
<
< unsigned int
< predecode(ExtMachInst &extMachInst, Addr currPC, MachInst machInst,
< ThreadContext * xc) {
< //Do something to fill up extMachInst...
< return MoreBytes | ExtMIReady;
< }
<