https://sourceware.org/bugzilla/show_bug.cgi?id=32624

Jan Beulich <jbeulich at suse dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #6 from Jan Beulich <jbeulich at suse dot com> ---
(In reply to H.J. Lu from comment #5)
> x:     file format elf32-i386
> 
> 
> Disassembly of section .text:
> 
> 08048074 <_start>:
>  8048074:     8d 05 fc ff ff ff       lea    0xfffffffc,%eax
>  804807a:     8d 04 25 00 90 04 08    lea    0x8049000(,%eiz,1),%eax

This should match the earlier LEA.

>  8048081:     81 c0 10 90 04 08       add    $0x8049010,%eax
>  8048087:     03 04 25 00 90 04 08    add    0x8049000(,%eiz,1),%eax

If the former "add" is transformed, the latter should be, too.

>  804808e:     0f ba 25 00 90 04 08 1f         btl    $0x1f,0x8049000
>  8048096:     0f ba 24 25 00 90 04 08 1f      btl    $0x1f,0x8049000(,%eiz,1)
>  804809f:     62 f2 75 48 8d 05 fc ff ff ff   vpermb 0xfffffffc,%zmm1,%zmm0

This wrongly was transformed as if it was LEA; the instruction is almost
certainly going to fault when executed (unless, oddly, something is mapped at
the topmost page of the address space). It should remain untouched just like
...

>  80480a9:     62 f2 75 48 8d 04 25 00 90 04 08        vpermb
> 0x8049000(,%eiz,1),%zmm1,%zmm0

... this one.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to