Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building current



On Sun 07 Apr 2013 at 16:33:46 +0200, Martin Husemann wrote:
> On Sun, Apr 07, 2013 at 10:18:12AM -0400, Mouse wrote:
> > which disassembles to
> > 
> >     ashq    -04(fp),$00000000ffffffff,-0c(fp)
> 
> I thought it would be emited by the vax_output_int_move() function in
> src/gnu/dist/gcc4/gcc/config/vax/vax.c line 1051ff:
> 
>           /* Here we see if we are trying to see if the 64bit value is really
>              a 6bit shifted some arbitrary amount.  If so, we can use ashq to
>              shift it to the correct value saving 7 bytes (1 addr-mode-byte +
>              8 bytes - 1 shift byte - 1 short literal byte.  */

That code seems to be for loading constant values. But to me it seems
like the ashq instruction is for the whole expression "~(uint64_t)0 << i".

By the way, I just installed the 6.1rc2 .iso into simh, and I'm seeing
the same thing.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'



Home | Main Index | Thread Index | Old Index