gcc/testsuite/g++.target/loongarch/cmodel-extreme-mi-thunk-2.C
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -fno-inline -march=loongarch64 -mabi=lp64d -O2 -mcmodel=extreme -fno-plt -mexplicit-relocs=auto -mdirect-extern-access" } */ |
| 3 | |
| 4 | #include "cmodel-extreme-mi-thunk-1.C" |
| 5 | |
| 6 | /* { dg-final { scan-assembler "pcalau12i\t\[^\n\]*%pc_hi20\\(\\.LTHUNK0\\)\n\taddi\\.d\t\[^\n\]*%pc_lo12\\(\\\.LTHUNK0\\)\n\tlu32i\\.d\t\[^\n\]*%pc64_lo20\\(\\.LTHUNK0\\)\n\tlu52i\\.d\t\[^\n\]*%pc64_hi12\\(\\.LTHUNK0\\)" } } */ |