--- gcc/config/vax.c 2018/04/24 17:51:37 1.1.1.1 +++ gcc/config/vax.c 2018/04/24 17:55:03 1.1.1.2 @@ -29,35 +29,12 @@ the Free Software Foundation, 675 Mass A #include "output.h" #include "insn-attr.h" -/* Return 1 if the operand is a REG, a SUBREG, or a MEM that is does not - have an index. This is used when we are using an operand in a different - mode than the hardware expects. See jlbc/jlbs. - - This is nonimmedate_operand with a restriction on the type of MEM. */ - -int -reg_or_nxmem_operand (op, mode) - rtx op; - enum machine_mode mode; -{ - if (! nonimmediate_operand (op, mode)) - return 0; - - if (GET_CODE (op) != MEM) - return 1; - - GO_IF_NONINDEXED_ADDRESS (XEXP (op, 0), nonidx); - - return 0; - nonidx: - return 1; -} +/* This is like nonimmediate_operand with a restriction on the type of MEM. */ void split_quadword_operands (operands, low, n) rtx *operands, *low; - int n; { int i; /* Split operands. */ @@ -152,6 +129,11 @@ print_operand_address (file, addr) reg1 = XEXP (addr, 1); addr = XEXP (addr, 0); } + else if (GET_CODE (XEXP (addr, 0)) == REG) + { + reg1 = XEXP (addr, 0); + addr = XEXP (addr, 1); + } else abort ();