Skip to content

Commit 0a54c98

Browse files
authored
[ZARCH] Modify constraints
1 parent bec54ae commit 0a54c98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kernel/zarch/cgemv_n_4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ static void add_y_4(BLASLONG n, FLOAT *src, FLOAT *dest, FLOAT alpha_r,
352352
"brctg %[n],0b"
353353
: "+m"(*(struct { FLOAT x[n * 2]; } *) dest),[n] "+&r"(n)
354354
: [dest] "a"(dest), "m"(*(const struct { FLOAT x[n * 2]; } *) src),
355-
[src] "a"(src),[alpha_r] "m"(alpha_r),[alpha_i] "m"(alpha_i)
355+
[src] "a"(src),[alpha_r] "Q"(alpha_r),[alpha_i] "Q"(alpha_i)
356356
: "cc", "r1", "v0", "v1", "v16", "v17", "v18", "v19", "v20", "v21",
357357
"v22", "v23");
358358
}

kernel/zarch/zgemv_n_4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ static void add_y_4(BLASLONG n, FLOAT *src, FLOAT *dest, FLOAT alpha_r,
263263
"brctg %[n],0b"
264264
: "+m"(*(struct { FLOAT x[n * 2]; } *) dest),[n] "+&r"(n)
265265
: [dest] "a"(dest), "m"(*(const struct { FLOAT x[n * 2]; } *) src),
266-
[src] "a"(src),[alpha_r] "m"(alpha_r),[alpha_i] "m"(alpha_i)
266+
[src] "a"(src),[alpha_r] "Q"(alpha_r),[alpha_i] "Q"(alpha_i)
267267
: "cc", "r1", "v0", "v1", "v16", "v17", "v18", "v19", "v20", "v21",
268268
"v22", "v23", "v24", "v25", "v26", "v27", "v28", "v29", "v30",
269269
"v31");

0 commit comments

Comments
 (0)