ams: basic support for compiling with gcc 15

This commit is contained in:
Michael Scire
2025-04-26 14:53:08 -07:00
committed by SciresM
parent 49058b204c
commit 29cadcd269
9 changed files with 11 additions and 16 deletions

View File

@@ -47,7 +47,7 @@ namespace ams::crypto {
" cmp %w[xor_acc], #0\n"
" cset %w[result], eq\n"
: [result]"=r"(result), [lhs]"+r"(lhs), [rhs]"+r"(rhs), [xor_acc]"=&r"(xor_acc), [index]"=&r"(index), [ltmp]"=&r"(ltmp), [rtmp]"=&r"(rtmp)
: "m"(*(const u8 (*)[size])lhs), "m"(*(const u8 (*)[size])lhs), [size]"r"(size)
: "m"(*(const u8 (*)[size])lhs), "m"(*(const u8 (*)[size])rhs), [size]"r"(size)
: "cc"
);