On 7/30/24 10:17 AM, Carl Love wrote:
> I tried, I hope I got it right, with -m32t:
> 
> /* { dg-do run  { target power10_hw } } */
> /* { dg-do compile  { target { ! power10_hw } } } */
> /* { dg-require-effective-target int128 } */
> 
> This gives:
> 
> # of unsupported tests          1
> 
> The same header with -m64 I get:
> 
> # of expected passes            8
> 
> This header seems to give us what we want on Power10 BE with -m32 and m64 
> (tested on ltcd97-lp7).

I agree with Kewen that dg-do compile makes more sense than link for
the non Power10 test, so if the above works, then great!

Peter


Reply via email to