https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126123

            Bug ID: 126123
           Summary: [17 Regression] After r17-1992-ge4543a6ecc97a75,
                    unrecognised assembler generated
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
                CC: avinashd at gcc dot gnu.org, jskumari at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-darwin
            Target: powerpc-darwin

After the noted revision - assembly of the form:

(this in building gstore.o in libatomic)

=== powerpc64le-linux:
      2         .machine power8
      3         .machine altivec
...
    474         lwz 3,0(8)
    475         lwarx 5,0,9,0
    476         cmpw 0,5,3

binutils as accepts this form,... 

==== powerpc-darwin

        .machine ppc7400
        .text
....
        mr r2,r3
        lwarx r10,0,r29,0

... but Darwin's assembler does not.

======

When looking up the instruction reference I only see...

PowerPC® 
lwarx   RT, RA, RB

======

Is this a new instruction form that darwin's assembler does not recognise and
therefore we need to find some other solution?

Reply via email to