cpuid.isa (9038:d7ddf3266d46) cpuid.isa (10196:be0e1724eb39)
1// Copyright (c) 2008 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

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

63 printMnemonic(response, mnemonic);
64 ccprintf(response, " ");
65 printReg(response, _srcRegIdx[0], machInst.opSize);
66 return response.str();
67 }
68}};
69
70def template CPUIDExecute {{
1// Copyright (c) 2008 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

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

63 printMnemonic(response, mnemonic);
64 ccprintf(response, " ");
65 printReg(response, _srcRegIdx[0], machInst.opSize);
66 return response.str();
67 }
68}};
69
70def template CPUIDExecute {{
71 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc,
71 Fault %(class_name)s::execute(CPU_EXEC_CONTEXT *xc,
72 Trace::InstRecord *traceData) const
73 {
74 // If the CPUID instruction used a valid function number, this will
75 // be set to true. Otherwise, the instruction does nothing.
76 %(op_decl)s;
77 %(op_rd)s;
78 %(code)s;
79 %(op_wb)s;

--- 12 unchanged lines hidden ---
72 Trace::InstRecord *traceData) const
73 {
74 // If the CPUID instruction used a valid function number, this will
75 // be set to true. Otherwise, the instruction does nothing.
76 %(op_decl)s;
77 %(op_rd)s;
78 %(code)s;
79 %(op_wb)s;

--- 12 unchanged lines hidden ---