mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-19 17:02:14 +00:00
crypto: fix asm constraints for memory comparison
This commit is contained in:
parent
3f6010b4dc
commit
e08f754646
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
: [size]"r"(size)
|
||||
: "m"(*(const u8 (*)[size])lhs), "m"(*(const u8 (*)[size])lhs), [size]"r"(size)
|
||||
: "cc"
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue