This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pre_inc/pre_dec/PUSH_ROUNDING inconsistency
> On Sun, Jul 16, 2000 at 04:04:20PM +0200, Jan Hubicka wrote:
> > What do you think is the correct way off this situation? Modify the
> > emit_push_insn in explow.c to change push insn representation for example
> > to something like:
> > (set (mem/f:DI (pre_dec:DI (reg:DI sp)) (subreg:DI val)))
> > since thats what the instruction does?
>
> I would think that widening the store like this to reflect the
> actual instruction is the only correct solution.
Yes, but whats about the floating point stores. I remember Jeff claiming
that (subreg:TF (reg:XF)) is incorrect...
is (subreg:TI (reg:XF)) better?
>
> > (can I easilly convert number of bytes returned by push_rounding to mode?)
>
> See smallest_mode_for_size.
Duh :)
Honza
>
>
> r~