FWIW: VAX fix backport and gcc built on 4.3BSD first time ever!
John David Anglin
dave@hiauly1.hia.nrc.ca
Tue Dec 19 21:48:00 GMT 2000
> +(define_insn "call_value"
> [(set (match_operand 0 "" "=g")
> (call (match_operand:QI 1 "memory_operand" "m")
> - (match_operand:SI 2 "const_int_operand" "n")))
> - (set (reg:SI 14) (reg:SI 14))]
> + (match_operand:SI 2 "const_int_operand" "n")))]
> + ;; Operand 2 not used on the vax.
> ""
> - "*
> - 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);
> - return \"calls %2,%1\";
> -")
> + "calls $0,%0")
There is a typo in the above. I knew I shouldn't have sent this until
it was tested.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc
mailing list