Debian Codegraph @

gcc/testsuite/gcc.target/riscv/xtheadbb-extu-4.c

raw
1 /* { dg-do compile { target { rv32 && { ! riscv_abi_e } } } } */
2 /* { dg-options "-march=rv32gc_xtheadbb" } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" "-O1" "-Os" "-Og" "-Oz" } } */
4
5 struct c {
6 int f : 25;
7 } d;
8
9 int b;
10 extern unsigned int e[];
11
12 void g()
13 {
14 d.f = e[2] >> (b << ~4194303 + 4194332) - 58096371;
15 }
16
17 /* { dg-final { scan-assembler-not {th.extu\t[ax][0-9]+,[ax][0-9]+,37,13} } } */