This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: x86_64 merger part 39 - vardic functions..


On Thu, Sep 20, 2001 at 02:49:30PM +0200, Jan Hubicka wrote:
> here comes the x86_64 vardic function stuff.

s/vardic/variadic/g

> !   ix86_save_varrargs_registers = 1;

  varargs

> + (define_expand "sse_prologue_save"

Why do you bother with an expander?

> + (define_insn "*sse_prologue_save_insn"
> +   [(set (mem:BLK (plus:DI (match_operand:DI 0 "register_operand" "R")
> + 			  (match_operand:DI 4 "const_int_operand" "n")))
> + 	(unspec:BLK [(clobber (reg:DI 21))

You're not clobbering the SSE registers.

I'm surprised you do a computed jump like this instead of
just saving all of the SSE registers that might contain data.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]