[PATCH 2/2] LoongArch: Fix tst-gnu2-tls2 register checks
Florian Weimer
fweimer@redhat.com
Fri Nov 6 09:43:27 GMT 2026
* Deng Jianbo:
> + /* Keep the callee-saved values live as operands across TLSDESC_CALL. */ \
> + asm volatile ("fld.d %0, %8\n\t" \
> + "fld.d %1, %9\n\t" \
> + "fld.d %2, %10\n\t" \
> + "fld.d %3, %11\n\t" \
> + "fld.d %4, %12\n\t" \
> + "fld.d %5, %13\n\t" \
> + "fld.d %6, %14\n\t" \
> + "fld.d %7, %15" \
> + : "=f"(src_f24), "=f"(src_f25), "=f"(src_f26), \
> + "=f"(src_f27), "=f"(src_f28), "=f"(src_f29), \
> + "=f"(src_f30), "=f"(src_f31) \
> + : "m"(src_float[24]), "m"(src_float[25]), \
> + "m"(src_float[26]), "m"(src_float[27]), \
> + "m"(src_float[28]), "m"(src_float[29]), \
> + "m"(src_float[30]), "m"(src_float[31])); \
Doesn't this need a memory clobber?
Thanks,
Florian
More information about the Libc-alpha
mailing list