aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.def
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-05-13 10:38:38 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-05-13 10:38:38 +0000
commitfccc55155dd303b502f04c8a17af1d0a9f31f6d5 (patch)
tree7c2a545a9dec5b5eecb37bb29488b40f31b09783 /gcc/rtl.def
parent925c1bae48b5b8dcc87a514e6e467582d735aa40 (diff)
downloadgcc-fccc55155dd303b502f04c8a17af1d0a9f31f6d5.zip
gcc-fccc55155dd303b502f04c8a17af1d0a9f31f6d5.tar.gz
gcc-fccc55155dd303b502f04c8a17af1d0a9f31f6d5.tar.bz2
rtl.def (REG): Remove middle field.
gcc/ * rtl.def (REG): Remove middle field. * rtl.h (rtx_def): Add orignal_regno to u2. (ORIGINAL_REGNO): Use it instead of field 1. (REG_ATTRS): Lower field index accordingly. * gengtype.c (adjust_field_rtx_def): Remove handling of ORIGINAL_REGNO. Move REG_ATTRS index down. * print-rtl.c (print_rtx): Move ORIGINAL_REGNO handling to the code that prints the REGNO. From-SVN: r210359
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r--gcc/rtl.def6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def
index 2d7847d..19a0fa1 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -378,12 +378,10 @@ DEF_RTL_EXPR(PC, "pc", "", RTX_OBJ)
/* 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
- holds the original register number - this will be different for a
- pseudo register that got turned into a hard register. The third
- operand points to a reg_attrs structure.
+ points to a reg_attrs structure.
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", "i00", RTX_OBJ)
+DEF_RTL_EXPR(REG, "reg", "i0", RTX_OBJ)
/* A scratch register. This represents a register used only within a
single insn. It will be turned into a REG during register allocation