Hi David, On 25/8/2022 下午 10:01, David Edelsohn wrote: > On Thu, Aug 25, 2022 at 1:22 AM Kewen.Lin <li...@linux.ibm.com> wrote: >> >> on 2022/8/25 11:37, HAO CHEN GUI wrote: >>> Hi, >>> >>> On 24/8/2022 下午 1:24, Kewen.Lin wrote: >>>> Could you try to test with dg-options "-mdejagnu-cpu=power9 -mpowerpc64" >>>> all the time, but still >>>> having that has_arch_ppc64 effective target on aix? >>>> >>>> I'd expect has_arch_ppc64 check to fail on aix 32bit, the error will not >>>> be a problem (turning >>>> into an UNSUPPORTED then)? >>> >>> I tested it on AIX. "has_arch_ppc64" fails with dg-options >>> "-mdejagnu-cpu=power9 -mpowerpc64" on >>> 32-bit AIX environment. It works as we expected. >> >> Nice, thanks for your time on testing. >> >>> >>> Also I found that AIX and Darwin are skipped for bfp test. So in testcase, >>> it's no need to care >>> about them. Not sure if it's intention. >>> >>> In bfp.exp >>> >>> # Exit immediately if this isn't a PowerPC target or if the target is >>> # aix or Darwin. >>> if { (![istarget powerpc*-*-*] && ![istarget rs6000-*-*]) >>> || [istarget "powerpc*-*-aix*"] >>> || [istarget "powerpc*-*-darwin*"] } then { >>> return >>> } >> >> I can't find a hint about why we wanted to disable bfp testing on aix, it >> looks like a overkill to me. >> >> Could you help to further test if all test cases in this small bucket >> available on aix? >> >> Maybe it can give us some evidences on why it's intentional or not. >> >> Hi David & Segher, >> >> Do you have some insights on this? > > AIX (and Darwin) are not Linux and not ELF. There is no support for > BPF. All of the tests fail, so they are skipped.
Thanks so much for your info. Here are test results on P7 AIX7.1. I tested all scalar-extract-sig-* and scalar-insert-exp-* cases in "testsuite/powerpc/bfp" fold. All compiling cases pass except those use __ieee128. The runnable cases fail as expected. p9vector is not supported on P7 servers. So the __ieee128 blocks Binary floating-point on AIX? Thanks Gui Haochen > > Thanks, David