Skip to content

Commit 371f76c

Browse files
committed
lint: fix subtree in src/simplicity
1 parent 3fe1e25 commit 371f76c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/simplicity/secp256k1/field_5x52_asm_impl.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#ifndef SECP256K1_FIELD_INNER5X52_IMPL_H
1515
#define SECP256K1_FIELD_INNER5X52_IMPL_H
1616

17-
#include "util.h"
18-
1917
SECP256K1_INLINE static void secp256k1_fe_mul_inner(uint64_t *r, const uint64_t *a, const uint64_t * SECP256K1_RESTRICT b) {
2018
/**
2119
* Registers: rdx:rax = multiplication accumulator
@@ -280,7 +278,7 @@ __asm__ __volatile__(
280278
"addq %%rsi,%%r8\n"
281279
/* r[4] = c */
282280
"movq %%r8,32(%%rdi)\n"
283-
: "+S"(a), "=&m"(tmp1), "=&m"(tmp2), "=&m"(tmp3)
281+
: "+S"(a), "=m"(tmp1), "=m"(tmp2), "=m"(tmp3)
284282
: "b"(b), "D"(r)
285283
: "%rax", "%rcx", "%rdx", "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15", "cc", "memory"
286284
);
@@ -495,7 +493,7 @@ __asm__ __volatile__(
495493
"addq %%rsi,%%r8\n"
496494
/* r[4] = c */
497495
"movq %%r8,32(%%rdi)\n"
498-
: "+S"(a), "=&m"(tmp1), "=&m"(tmp2), "=&m"(tmp3)
496+
: "+S"(a), "=m"(tmp1), "=m"(tmp2), "=m"(tmp3)
499497
: "D"(r)
500498
: "%rax", "%rbx", "%rcx", "%rdx", "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15", "cc", "memory"
501499
);

0 commit comments

Comments
 (0)