The half-baked assembler in Clang 16 and earlier can't process our RISC-V assembler. This adds yet another work around that. If you must use Clang, please use version 17 or later.
Unified · Split
| @@ -56,7 +56,6 @@ static inline size_t ff_get_rv_vlenb(void) · 55 unmodified lines | ||
| 56 | 56 | ".option pop\n" : "=r" (vlenb)); |
| 57 | 57 | return vlenb; |
| 58 | 58 | } |
| 59 | −#endif | |
| 60 | 59 | |
| 61 | 60 | /** |
| 62 | 61 | * Checks that the vector bit-size is at least the given value. |
| @@ -78,3 +77,4 @@ static inline bool ff_rv_vlen_least(unsigned int bits) · 15 unmodified lines | ||
| 78 | 77 | return bits <= (8 * ff_get_rv_vlenb()); |
| 79 | 78 | } |
| 80 | 79 | #endif |
| 80 | +#endif /* HAVE_RVV */ | |