projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4140d7
)
X86: Let microops force folding an index into the high byte of a register.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 5 Aug 2009 10:03:07 +0000
(
03:03
-0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 5 Aug 2009 10:03:07 +0000
(
03:03
-0700)
src/arch/x86/isa/microasm.isa
patch
|
blob
|
history
diff --git
a/src/arch/x86/isa/microasm.isa
b/src/arch/x86/isa/microasm.isa
index 0cc72bf7b8dd97a21e970191b0b3ffbb7c7b8374..c6f5e9cddc7dc64a02a0d64e43ebf0b45c0cc195 100644
(file)
--- a/
src/arch/x86/isa/microasm.isa
+++ b/
src/arch/x86/isa/microasm.isa
@@
-151,6
+151,10
@@
let {{
assembler.symbols["r%s" % reg] = \
regIdx("INTREG_R%s" % reg.upper())
+ for reg in ('ah', 'bh', 'ch', 'dh'):
+ assembler.symbols[reg] = \
+ regIdx("INTREG_FOLDED(INTREG_%s, IntFoldBit)" % reg.upper())
+
for reg in range(16):
assembler.symbols["cr%d" % reg] = regIdx("MISCREG_CR%d" % reg)