Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/gcs-nonlocal-1-track-speculation.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mbranch-protection=gcs -mtrack-speculation" } */
3 /* { dg-final { scan-assembler-times "hint\\t40 // chkfeat x16" 2 } } */
4 /* { dg-final { scan-assembler-times "mrs\\tx\[0-9\]+, s3_3_c2_c5_1 // gcspr_el0" 2 } } */
5 /* { dg-final { scan-assembler-times "sysl\\txzr, #3, c7, c7, #1 // gcspopm" 1 } } */
6
7 #include "gcs-nonlocal-1.h"