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 9 - few cleanups/fixes


On Sat, Mar 10, 2001 at 02:33:11PM +0100, Jan Hubicka wrote:
>   (define_expand "ashrdi3"
[...]
> +   if (TARGET_64BIT)
> +     {
> +       ix86_expand_binary_operator (ASHIFTRT, DImode, operands); DONE;
> +     }

Why is this one different from the other two?  We hadn't been doing
ix86_expand_binary_operator on these, but perhaps we should have been.

> -    {cltd|cdq}
> +    {cltd|cdqe}

Surely this is wrong.

{"cltd",   0,   0x99, X, 0,      NoSuf|Size32,          { 0, 0, 0} },
{"cdq",    0,   0x99, X, 0,      NoSuf|Size32,          { 0, 0, 0} },
{"cdqe",   0,   0x98, X, Cpu64,  NoSuf|Size64,          { 0, 0, 0} },

One of these is not like the other.

Otherwise ok.


r~


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