This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RS6000] Don't pass -many to the assembler
On 11/13/18 12:06 PM, Iain Sandoe wrote:
> As far as I expect, Darwin should be untouched by this - we have a separate assembler (which doesn’t even respond to -many), so unless there’s some higher level translation done (it’s not mentioned in any Darwin specs), we should just carry on as before.
Ah, good then.
> When I do expect things to change is when multiple .machine directives are included in asm sources.
> (probably) the old cctools assembler won’t deal with them properly
Usually when there are multiple .machine's being used, they should be used
with the ".machine push" and ".machine pop" directives so the temporary
.machine value doesn't corrupt the .machine value being used for the rest
of the file. Like so.
.machine "power8"
...
.machine push
.machine "power9"
<power9 insns>
.machine pop
...
Hopefully the cctools supports that.
Peter