File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1200,7 +1200,7 @@ HEDLEY_DIAGNOSTIC_POP
1200
1200
#endif
1201
1201
1202
1202
/* Initial support for RISCV V extensions based on ZVE64D. */
1203
- #if defined(SIMDE_ARCH_RISCV_ZVE64D) && SIMDE_NATURAL_VECTOR_SIZE >= 64
1203
+ #if defined(SIMDE_ARCH_RISCV_ZVE64D) && SIMDE_NATURAL_VECTOR_SIZE >= 64 && defined(__riscv_v_fixed_vlen)
1204
1204
#define RVV_FIXED_TYPE_DEF (name, lmul ) \
1205
1205
typedef vint8##name##_t fixed_vint8##name##_t __attribute__ ((riscv_rvv_vector_bits(__riscv_v_fixed_vlen * lmul))); \
1206
1206
typedef vint16##name##_t fixed_vint16##name##_t __attribute__ ((riscv_rvv_vector_bits(__riscv_v_fixed_vlen * lmul))); \
Original file line number Diff line number Diff line change 380
380
#endif
381
381
382
382
#if !defined(SIMDE_RISCV_V_NATIVE) && !defined(SIMDE_RISCV_V_NO_NATIVE) && !defined(SIMDE_NO_NATIVE)
383
- #if defined(SIMDE_ARCH_RISCV_V)
383
+ #if defined(SIMDE_ARCH_RISCV_V) && defined(__riscv_v_fixed_vlen)
384
384
#define SIMDE_RISCV_V_NATIVE
385
385
#endif
386
386
#endif
You can’t perform that action at this time.
0 commit comments