bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23193] New: aarch64: orr should not be converted to alias


From: i-bugzilla-sourceware-org-kasujfzh at rf dot risimo.net
Subject: [Bug binutils/23193] New: aarch64: orr should not be converted to alias mov when non-zero shift
Date: Thu, 17 May 2018 06:15:52 +0000

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

            Bug ID: 23193
           Summary: aarch64: orr should not be converted to alias mov when
                    non-zero shift
           Product: binutils
           Version: 2.30
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: i-bugzilla-sourceware-org-kasujfzh at rf dot risimo.net
  Target Milestone: ---

$ hexdump bin2
0000000 ee f3 9e aa                                    
0000004
$ objdump -D -b binary -maarch64 -Mno-aliases bin2

bin2:     file format binary


Disassembly of section .data:

0000000000000000 <.data>:
   0:   aa9ef3ee        orr     x14, xzr, x30, asr #60
$ objdump -D -b binary -maarch64 bin2

bin2:     file format binary


Disassembly of section .data:

0000000000000000 <.data>:
   0:   aa9ef3ee        mov     x14, x30, asr #60
$

The condition for the alias is 
  shift == '00' && imm6 == '000000' && Rn == '11111'
here imm6 (the shift amount) is clearly not all zeros 
and therefore the output of no-aliases and aliases should be the 
same (the orr variant).

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]