Skip to content

Commit e7f9588

Browse files
committed
WIP
Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
1 parent 644f5ed commit e7f9588

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

dev/x86_64/src/poly_basemul.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* r = ac + bdz = r0 + r1,
5151
* s = ad + bc = s0 + s1.
5252
*/
53-
.macro schoolbook iter k
53+
.macro schoolbook iter, k
5454
vmovdqa (256*\k + 32*\iter + 0)*2(%rsi), _a
5555
vmovdqa (256*\k + 32*\iter + 16)*2(%rsi), _b
5656
vmovdqa (256*\k + 32*\iter + 0)*2(%rdx), _c

mlkem/src/native/x86_64/src/poly_basemul.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* r = ac + bdz = r0 + r1,
5151
* s = ad + bc = s0 + s1.
5252
*/
53-
.macro schoolbook iter k
53+
.macro schoolbook iter, k
5454
vmovdqa (256*\k + 32*\iter + 0)*2(%rsi), _a
5555
vmovdqa (256*\k + 32*\iter + 16)*2(%rsi), _b
5656
vmovdqa (256*\k + 32*\iter + 0)*2(%rdx), _c

scripts/autogen

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,17 +2116,19 @@ def update_via_simpasm(
21162116
# Add syntax option for x86_64
21172117
if arch == "x86_64" and x86_64_syntax != "att":
21182118
cmd += ["--syntax", x86_64_syntax]
2119+
cmd += ["-v"]
21192120
r = subprocess.run(
21202121
cmd,
2121-
stdout=subprocess.DEVNULL,
2122-
stderr=subprocess.PIPE,
2122+
stdout=subprocess.PIPE,
2123+
stderr=subprocess.STDOUT,
21232124
check=True,
21242125
text=True,
21252126
)
2127+
print(r.stdout)
21262128
except subprocess.CalledProcessError as e:
21272129
print(f"Command failed: {' '.join(cmd)}")
21282130
print(f"Exit code: {e.returncode}")
2129-
print(f"stderr: {e.stderr}")
2131+
print(f"stdout/stderr: {e.stdout}")
21302132
raise Exception("Failed to run simpasm") from e
21312133
tmp.seek(0)
21322134
new_contents = tmp.read().decode()

0 commit comments

Comments
 (0)