gcc/testsuite/gcc.target/s390/int128load.c
raw| 1 | /* Check that int128 loads and stores are split. */ |
| 2 | |
| 3 | /* { dg-do compile { target int128 } } */ |
| 4 | /* { dg-options "-O3 -mzarch -march=zEC12" } */ |
| 5 | |
| 6 | __int128 global; |
| 7 | |
| 8 | void f(__int128 x) |
| 9 | { |
| 10 | global = x; |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler-times "lg\t" 2 } } */ |
| 14 | /* { dg-final { scan-assembler-times "stg\t" 2 } } */ |