Hi! On Wed, Oct 07, 2020 at 04:53:11PM -0500, will schmidt wrote: > > +;; AIX does not support extended mnemonic xxswapd. Use the basic > > +;; mnemonic xxpermdi instead. > > I'd wonder if there can be additional logic using ( DEFAULT_ABI == > ABI_AIX ) sort of check to resolve this. It looks like this same > comment exists in multiple places througout our *.md files, so not > something that needs to be solved here today.
ABI_AIX just tests the *ABI*, whether we have function descriptors mostly. But there is TARGET_AIX to test if we are running on AIX. The problem with generating different assembler code on AIX is that we then have to do more testing as well, have more opportunities to get things wrong. But it might be worth it for xxpermdi, the extended mnemonics improve readability a lot. On the other hand, once we start this, where will it end :-) > > new file mode 100644 > > index 00000000000..85ad544e22b > > --- /dev/null > > +++ b/gcc/testsuite/gcc.target/powerpc/int_128bit-runnable.c > > @@ -0,0 +1,2254 @@ > > +/* { dg-do run } */ > > +/* { dg-options "-mcpu=power10 -O2 -save-temps" } */ > > +/* { dg-require-effective-target power10_hw } */ > > +/* { dg-require-effective-target ppc_native_128bit } */ > > I don't see any other uses of the target option for ppc_native_128bit > in my tree ? I don't see where it is defined, even? Segher