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

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