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? BR, Kewen