From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: dave@hiauly1.hia.nrc.ca (John David Anglin) Cc: gcc@gcc.gnu.org, msokolov@ivan.harhan.org Subject: Re: FWIW: VAX fix backport and gcc built on 4.3BSD first time ever! Date: Tue, 19 Dec 2000 21:48:00 -0000 Message-id: <200012200548.AAA05770@hiauly1.hia.nrc.ca> References: X-SW-Source: 2000-12/msg00642.html > +(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)