blob: 1e276659c3ea206bc9590cba9b742abb323b87d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* { dg-do compile } */
/* { dg-skip-if "-march given" { *-*-* } { "-march=*" } } */
/* { dg-options "-mcpu=xt-c910" { target { rv64 } } } */
/* XuanTie C910 => rv64imafdc_zicntr_zicsr_zifencei_zihpm_zfh_xtheadba_
xtheadbb_xtheadbs_xtheadcmo_xtheadcondmov_xtheadfmemidx_xtheadmac_
xtheadmemidx_xtheadmempair_xtheadsync */
#if !((__riscv_xlen == 64) \
&& !defined(__riscv_32e) \
&& defined(__riscv_mul) \
&& defined(__riscv_atomic) \
&& (__riscv_flen == 64) \
&& defined(__riscv_compressed) \
&& defined(__riscv_zicntr) \
&& defined(__riscv_zicsr) \
&& defined(__riscv_zifencei) \
&& defined(__riscv_zihpm) \
&& defined(__riscv_zfh) \
&& defined(__riscv_xtheadba) \
&& defined(__riscv_xtheadbb) \
&& defined(__riscv_xtheadbs) \
&& defined(__riscv_xtheadcmo) \
&& defined(__riscv_xtheadcondmov) \
&& defined(__riscv_xtheadfmemidx) \
&& defined(__riscv_xtheadmac) \
&& defined(__riscv_xtheadmemidx) \
&& defined(__riscv_xtheadmempair) \
&& defined(__riscv_xtheadsync))
#error "unexpected arch"
#endif
int main()
{
return 0;
}
|