Kyrill Tkachov
Kyrill Tkachov
Generally speaking, -mcpu=native is the recommended option for native AArch64 Linux users for getting the best CPU and architecture-specific performance out of their code. However, many makefiles out there are...
The following reduced testcase: https://godbolt.org/z/hhb8n6fnT ``` int a, d; extern short b[]; long c; void e(bool f[]) { #pragma clang loop vectorize_predicate(enable) for (signed char g = 1; g <...
Clang crash on aarch64: error in backend: Don't know how to widen the operands for INSERT_SUBVECTOR
The testcase ``` long long a; short b; long c; long d(long e) { if (e < c) return c; return e; } void f(short e[][12], long long g[][2][2]) {...
``` #include svint64x2_t foo (svbool_t pg, int64_t* base, svint64x2_t in) { svint64x2_t result = svld2_s64 (pg, base); if (base == 0) return in; return result; } ``` Compiled with -O2...
error in backend: Cannot select: 0xe2dd910: nxv2i64 = AArch64ISD::SRAD_MERGE_OP1 with SVE intrinsics
Godbolt testcase: https://godbolt.org/z/cKcW3Gd33 ``` #include svint64_t f4 (svbool_t pg, svint64_t op1) { return svdiv_m (pg, op1, svdup_s64 (1)); } ```
Example AArch64 SVE intrinsics code: ``` #include svfloat64_t svmul_x_2(svfloat64_t x, svfloat64_t y, svbool_t pg) { return svmul_x(pg, svdup_f64(2), x); } ``` This can generate just a single FMUL instruction but...
Currently if a user passes an -mcpu=option to simulate a certain instruction sequence MCA will use whatever scheduling model is specified for that CPU internally in LLVM. Usually if there...