gem5/src/arch/alpha/isa
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
..
branch.isa Alpha: Take advantage of new PCState syntax. 2010-12-08 10:55:33 -08:00
decoder.isa ISA parser: Use '_' instead of '.' to delimit type modifiers on operands. 2011-09-26 23:48:54 -07:00
fp.isa Alpha: Get rid of some #if FULL_SYSTEMs in the Alpha ISA description. 2011-09-19 03:40:30 -07:00
int.isa ISA parser: Use '_' instead of '.' to delimit type modifiers on operands. 2011-09-26 23:48:54 -07:00
main.isa ISA parser: Use '_' instead of '.' to delimit type modifiers on operands. 2011-09-26 23:48:54 -07:00
mem.isa ISA: Use readBytes/writeBytes for all instruction level memory operations. 2011-07-02 22:34:29 -07:00
opcdec.isa Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
pal.isa Style: Replace some tabs with spaces. 2010-12-20 16:24:40 -05:00
unimp.isa Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
unknown.isa Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
util.isa Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00