summaryrefslogtreecommitdiff
path: root/gcc/rtl.def
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-29 17:35:57 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-29 17:35:57 +0000
commit22cf44bc1d44921146a9f3345a6e922ecfd0e889 (patch)
tree82c339206e63aab7b8cc6be35db94ce2f5dc014a /gcc/rtl.def
parenta396ebb9d59ba8bb4cdb424e4def201c00c57f7e (diff)
downloadgcc-22cf44bc1d44921146a9f3345a6e922ecfd0e889.tar.gz
Introduce ORIGINAL_REGNO macro
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38546 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r--gcc/rtl.def10
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def
index fcad7ec4b21..6f0aec86b5a 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -583,12 +583,10 @@ DEF_RTL_EXPR(VALUE, "value", "0", 'o')
/* A register. The "operand" is the register number, accessed with
the REGNO macro. If this number is less than FIRST_PSEUDO_REGISTER
than a hardware register is being referred to. The second operand
- doesn't really exist. Unfortunately, however, the compiler
- implicitly assumes that a REG can be transformed in place into a
- MEM, and therefore that a REG is at least as big as a MEM. To
- avoid this memory overhead, which is likely to be substantial,
- search for uses of PUT_CODE that turn REGs into MEMs, and fix them
- somehow. Then, the trailing `0' can be removed here. */
+ holds the original register number - this will be different for a
+ pseudo register that got turned into a hard register.
+ This rtx needs to have as many (or more) fields as a MEM, since we
+ can change REG rtx's into MEMs during reload. */
DEF_RTL_EXPR(REG, "reg", "i0", 'o')
/* A scratch register. This represents a register used only within a