Skip to content

Commit

Permalink
Fixes deference in multiplexers.nim
Browse files Browse the repository at this point in the history
  • Loading branch information
benbierens committed Nov 27, 2023
1 parent d77bb79 commit db0e08d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions constantine/platforms/constant_time/multiplexers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ else:
asm """
testq %[ctl], %[ctl]
cmovnzq %[y], %[x]
: [x] "+r" (`*x`)
: [x] "+r" (*`x`)
: [ctl] "r" (`ctl`), [y] "r" (`y`)
: "cc"
"""
Expand All @@ -164,7 +164,7 @@ else:
asm """
testl %[ctl], %[ctl]
cmovnzl %[y], %[x]
: [x] "+r" (`*x`)
: [x] "+r" (*`x`)
: [ctl] "r" (`ctl`), [y] "r" (`y`)
: "cc"
"""
Expand Down

0 comments on commit db0e08d

Please sign in to comment.