diff options
Diffstat (limited to 'test/make_512.cpp')
-rw-r--r-- | test/make_512.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/make_512.cpp b/test/make_512.cpp index d29adeb..004fa16 100644 --- a/test/make_512.cpp +++ b/test/make_512.cpp @@ -537,7 +537,7 @@ public: printf("vaddpd(%s%s%s, %s, %s%s); dump();\n", r1, pk, pz, r2, r3, saeTblXbyak[sae]); } else { if (kIdx) CYBOZU_SNPRINTF(pk, sizeof(pk), "{k%d}", kIdx); - if (z) pz = "{z}"; + if (z && kIdx) pz = "{z}"; printf("vaddpd %s%s%s, %s, %s%s\n", r1, pk, pz, r2, r3, saeTblNASM[sae]); } } |