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
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: pre_inc/pre_dec/PUSH_ROUNDING inconsistency
- From: Richard Henderson <rth at cygnus dot com>
- Date: Mon, 17 Jul 2000 14:07:14 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <20000716160420.A26370@atrey.karlin.mff.cuni.cz>
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.
> (can I easilly convert number of bytes returned by push_rounding to mode?)
See smallest_mode_for_size.
r~