diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-05 23:18:02 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-05 23:18:02 +0000 |
commit | c5aa1e92211d8e1c3768a94c7a1fcf7e72e8cf80 (patch) | |
tree | 017db6c8be411c52ab98093e94dcce3c7ca3f029 /gcc/config/vax | |
parent | 870d7a364fabca1efd21f7b8a996934ab7f91805 (diff) | |
download | gcc-c5aa1e92211d8e1c3768a94c7a1fcf7e72e8cf80.tar.gz |
* Check in merge from gcc2. See ChangeLog.12 for details.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19553 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/vax')
-rw-r--r-- | gcc/config/vax/vax.md | 16 | ||||
-rw-r--r-- | gcc/config/vax/xm-vms.h | 3 |
2 files changed, 10 insertions, 9 deletions
diff --git a/gcc/config/vax/vax.md b/gcc/config/vax/vax.md index 25ca7bcce5d..4ca4668929d 100644 --- a/gcc/config/vax/vax.md +++ b/gcc/config/vax/vax.md @@ -1842,12 +1842,12 @@ ;; is when it is a constant, SImode (for addl2) is the proper mode. (define_insn "call_pop" [(call (match_operand:QI 0 "memory_operand" "m") - (match_operand:SI 1 "general_operand" "g")) + (match_operand:SI 1 "const_int_operand" "n")) (set (reg:SI 14) (plus:SI (reg:SI 14) (match_operand:SI 3 "immediate_operand" "i")))] "" "* - if (GET_CODE (operands[1]) != CONST_INT || INTVAL (operands[1]) > 255 * 4) + if (INTVAL (operands[1]) > 255 * 4) /* Vax `calls' really uses only one byte of #args, so pop explicitly. */ return \"calls $0,%0\;addl2 %1,sp\"; operands[1] = GEN_INT ((INTVAL (operands[1]) + 3)/ 4); @@ -1857,12 +1857,12 @@ (define_insn "call_value_pop" [(set (match_operand 0 "" "=g") (call (match_operand:QI 1 "memory_operand" "m") - (match_operand:SI 2 "general_operand" "g"))) + (match_operand:SI 2 "const_int_operand" "n"))) (set (reg:SI 14) (plus:SI (reg:SI 14) (match_operand:SI 4 "immediate_operand" "i")))] "" "* - if (GET_CODE (operands[2]) != CONST_INT || INTVAL (operands[2]) > 255 * 4) + if (INTVAL (operands[2]) > 255 * 4) /* Vax `calls' really uses only one byte of #args, so pop explicitly. */ return \"calls $0,%1\;addl2 %2,sp\"; operands[2] = GEN_INT ((INTVAL (operands[2]) + 3)/ 4); @@ -1873,11 +1873,11 @@ ;; operands. In that case, combine may simplify the adjustment of sp. (define_insn "" [(call (match_operand:QI 0 "memory_operand" "m") - (match_operand:SI 1 "general_operand" "g")) + (match_operand:SI 1 "const_int_operand" "n")) (set (reg:SI 14) (reg:SI 14))] "" "* - if (GET_CODE (operands[1]) != CONST_INT || INTVAL (operands[1]) > 255 * 4) + if (INTVAL (operands[1]) > 255 * 4) /* Vax `calls' really uses only one byte of #args, so pop explicitly. */ return \"calls $0,%0\;addl2 %1,sp\"; operands[1] = GEN_INT ((INTVAL (operands[1]) + 3)/ 4); @@ -1887,11 +1887,11 @@ (define_insn "" [(set (match_operand 0 "" "=g") (call (match_operand:QI 1 "memory_operand" "m") - (match_operand:SI 2 "general_operand" "g"))) + (match_operand:SI 2 "const_int_operand" "n"))) (set (reg:SI 14) (reg:SI 14))] "" "* - if (GET_CODE (operands[2]) != CONST_INT || INTVAL (operands[2]) > 255 * 4) + if (INTVAL (operands[2]) > 255 * 4) /* Vax `calls' really uses only one byte of #args, so pop explicitly. */ return \"calls $0,%1\;addl2 %2,sp\"; operands[2] = GEN_INT ((INTVAL (operands[2]) + 3)/ 4); diff --git a/gcc/config/vax/xm-vms.h b/gcc/config/vax/xm-vms.h index 104f5fe74d5..5d01aeb23ee 100644 --- a/gcc/config/vax/xm-vms.h +++ b/gcc/config/vax/xm-vms.h @@ -134,10 +134,11 @@ Boston, MA 02111-1307, USA. */ #define HAVE_VPRINTF #if defined(VAXC) || defined(__DECC) + /* Customizations/kludges for building with DEC's VAX C compiler rather than GCC. */ + #define NO_SYS_PARAMS_H /* don't have <sys/params.h> */ -#define NO_STAB_H /* don't have <stab.h> */ #define USE_C_ALLOCA /* using alloca.c */ #define QSORT_WORKAROUND /* do not use VAXCRTL's qsort */ |