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: Patch for md.texi: Fix i386 constraints


> Looking at i386.h I added some missing constraints.  Honza, is the
> description correct now (especially the "A")?
> 
> Can I commit this to the mainline?
GCC may use any register pair to hold 64bit values on 32bit system
(and 128bit on 64bit), so I don't think the AX:DX needs special docuemntation.
But maybe it does, since it is the only pair supported directly by hardware.
Then you should also mention that on 64bit system it is used to hold 128bit
values.
> +@item x
> +SSE register (holding a float)
It also may hold other values (integers and packed types).
I think documentation can say just "SSE register"
> +
> +@item y
> +MMX register
> +
> +@item Y
> +SSE2 register (holding a double)
I would like to keep this one for internal purposes only.  It is here just
to reduce amount of instruction patterns in MD file and it may be handy
to change its meaning in future (in fact I do have plans for it).
> +
> +@item H
> +Standard SSE constant
Similary this one.  There is no usage for it in ASM statements, so it
should be explicitly mentioned too.

Thanks for taking care on this issue.
Honza
>  @end table
>  
>  @item Intel 960---@file{i960.h}
> 
> -- 
>  Andreas Jaeger
>   SuSE Labs aj@suse.de
>    private aj@arthur.inka.de
>     http://www.suse.de/~aj


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