This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FWIW: VAX fix backport and gcc built on 4.3BSD first time ever!
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Subject: Re: FWIW: VAX fix backport and gcc built on 4.3BSD first time ever!
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Wed, 20 Dec 2000 00:48:43 -0500 (EST)
- Cc: gcc at gcc dot gnu dot org, msokolov at ivan dot harhan dot org
> +(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)