]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
commenting on the quirks of MUL_VF and MUL_FV in gmqcc.h's instruction list
authorWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 22 Aug 2012 16:34:48 +0000 (18:34 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 22 Aug 2012 16:34:48 +0000 (18:34 +0200)
gmqcc.h

diff --git a/gmqcc.h b/gmqcc.h
index 787fb1dfab9ec7d49507808204093b8a44e5facf..68cc39375e7e894ffaef7b362b912986e62096e1 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -410,8 +410,8 @@ enum {
     INSTR_DONE,
     INSTR_MUL_F,
     INSTR_MUL_V,
-    INSTR_MUL_FV,
-    INSTR_MUL_VF,
+    INSTR_MUL_FV, /* NOTE: the float operands must NOT be at the same locations: A != C */
+    INSTR_MUL_VF, /* and here: B != C */
     INSTR_DIV_F,
     INSTR_ADD_F,
     INSTR_ADD_V,