gem5/src/arch/x86
Gabe Black 997cbe1c09 ISA parser: Use '_' instead of '.' to delimit type modifiers on operands.
By using an underscore, the "." is still available and can unambiguously be
used to refer to members of a structure if an operand is a structure, class,
etc. This change mostly just replaces the appropriate "."s with "_"s, but
there were also a few places where the ISA descriptions where handling the
extensions themselves and had their own regular expressions to update. The
regular expressions in the isa parser were updated as well. It also now
looks for one of the defined type extensions specifically after connecting "_"
where before it would look for any sequence of characters after a "."
following an operand name and try to use it as the extension. This helps to
disambiguate cases where a "_" may legitimately be part of an operand name but
not separate the name from the type suffix.

Because leaving the "_" and suffix on the variable name still leaves a valid
C++ identifier and all extensions need to be consistent in a given context, I
considered leaving them on as a breadcrumb that would show what the intended
type was for that operand. Unfortunately the operands can be referred to in
code templates, the Mem operand in particular, and since the exact type of Mem
can be different for different uses of the same template, that broke things.
2011-09-26 23:48:54 -07:00
..
bios config: revamp x86 config to avoid appending to SimObjectVectors 2011-05-23 14:29:23 -07:00
insts StaticInst: Merge StaticInst and StaticInstBase. 2011-09-09 02:40:11 -07:00
isa ISA parser: Use '_' instead of '.' to delimit type modifiers on operands. 2011-09-26 23:48:54 -07:00
linux includes: sort all includes 2011-04-15 10:44:06 -07:00
regs X86: Move the MSR lookup table out of the TLB and into its own file. 2011-09-23 02:42:22 -07:00
cpuid.cc Make commenting on close namespace brackets consistent. 2011-01-03 14:35:43 -08:00
cpuid.hh X86: Sometimes CPUID depends on ecx, so pass that in. 2010-05-02 00:40:17 -07:00
emulenv.cc copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00
emulenv.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
faults.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
faults.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
interrupts.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
interrupts.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
intmessage.hh includes: sort includes again 2009-05-17 14:34:52 -07:00
isa.cc x86: minor checkpointing bug fixes 2010-08-17 05:20:39 -07:00
isa.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
isa_traits.hh StaticInst: Merge StaticInst and StaticInstBase. 2011-09-09 02:40:11 -07:00
kernel_stats.hh copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00
locked_mem.hh Stub implementation for x86 2007-03-05 16:08:18 +00:00
memhelpers.hh ExecContext: Rename the readBytes/writeBytes functions to readMem and writeMem. 2011-07-02 22:35:04 -07:00
microcode_rom.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
mmapped_ipr.hh Spelling: Fix the a spelling error by changing mmaped to mmapped. 2011-03-01 23:18:47 -08:00
nativetrace.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
nativetrace.hh Make commenting on close namespace brackets consistent. 2011-01-03 14:35:43 -08:00
pagetable.cc x86: Add checkpointing capability to arch components 2011-02-06 22:14:17 -08:00
pagetable.hh copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00
pagetable_walker.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
pagetable_walker.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
predecoder.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
predecoder.hh trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
predecoder_tables.cc copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00
process.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
process.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
registers.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
remote_gdb.cc includes: sort all includes 2011-04-15 10:44:06 -07:00
remote_gdb.hh copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00
SConscript scons: rename TraceFlags to DebugFlags 2011-06-02 17:36:21 -07:00
SConsopts copyright: This file need not have had the more restrictive copyright. 2009-02-09 20:10:15 -08:00
stacktrace.cc X86: Fix X86_FS compilation. 2010-11-08 12:43:38 -08:00
stacktrace.hh trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
system.cc includes: sort all includes 2011-04-15 10:44:06 -07:00
system.hh sim: revamp unserialization procedure 2010-08-17 05:17:06 -07:00
tlb.cc X86: Move the MSR lookup table out of the TLB and into its own file. 2011-09-23 02:42:22 -07:00
tlb.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
types.cc X86: Change the copyright holder to AMD. 2010-08-27 15:35:36 -07:00
types.hh mips: cleanup ISA-specific code 2011-03-26 09:23:52 -04:00
utility.cc X86: implements copyRegs() function 2011-07-11 16:52:52 -05:00
utility.hh Trace: Allow printing ASIDs and selectively tracing based on user/kernel code. 2011-05-13 17:27:00 -05:00
vtophys.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
vtophys.hh x86: implements vtophys 2011-02-06 22:14:17 -08:00
x86_traits.hh copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00
X86LocalApic.py IntDev: packet latency fix 2011-02-06 22:14:17 -08:00
X86NativeTrace.py CPU: Separate out native trace into ISA (in)dependent code and SimObjects. 2009-07-19 23:54:56 -07:00
X86System.py Loader: Make the load address mask be a parameter of the system rather than a constant. 2010-08-23 11:18:39 -05:00
X86TLB.py copyright: Change HP copyright on x86 code to be more friendly 2010-05-23 22:44:15 -07:00