Commit 13f0e8888f9ae3bcd78a57514f9a9235a903492b

Authored by Danny Al-Gaaf
1 parent fa5ec811
Exists in master and in 3 other branches v2, v3, wip-18092

fix comment/message on GF_E_SP128_A/GF_E_SP128_S

Swap comments/messages on GF_E_SP128_A/GF_E_SP128_S.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Showing 2 changed files with 4 additions and 4 deletions   Show diff stats
include/gf_int.h
... ... @@ -154,8 +154,8 @@ typedef enum {GF_E_MDEFDIV, /* Dev != Default &amp;&amp; Mult == Default */
154 154 GF_E_SP128AR, /* Mult == SPLIT, w=128, Bad arg1/arg2 */
155 155 GF_E_SP128AL, /* Mult == SPLIT, w=128, SSE requires ALTMAP */
156 156 GF_E_SP128AS, /* Mult == SPLIT, w=128, ALTMAP requires SSE */
157   - GF_E_SP128_A, /* Mult == SPLIT, w=128, SSE only with 4/128 */
158   - GF_E_SP128_S, /* Mult == SPLIT, w=128, ALTMAP only with 4/128 */
  157 + GF_E_SP128_A, /* Mult == SPLIT, w=128, ALTMAP only with 4/128 */
  158 + GF_E_SP128_S, /* Mult == SPLIT, w=128, SSE only with 4/128 */
159 159 GF_E_SPLIT_W, /* Mult == SPLIT, Bad w (8, 16, 32, 64, 128) */
160 160 GF_E_SP_16AR, /* Mult == SPLIT, w=16, Bad arg1/arg2 */
161 161 GF_E_SP_16_A, /* Mult == SPLIT, w=16, ALTMAP only with 4/16 */
... ...
src/gf.c
... ... @@ -85,8 +85,8 @@ void gf_error()
85 85 case GF_E_SP128AR: s = "With -m SPLIT, w=128, bad arg1/arg2."; break;
86 86 case GF_E_SP128AL: s = "With -m SPLIT, w=128, -r SSE requires -r ALTMAP."; break;
87 87 case GF_E_SP128AS: s = "With -m SPLIT, w=128, ALTMAP needs SSSE3 supported."; break;
88   - case GF_E_SP128_A: s = "With -m SPLIT, w=128, -r SSE|NOSSE only with arg1/arg2 = 4/128."; break;
89   - case GF_E_SP128_S: s = "With -m SPLIT, w=128, -r ALTMAP only with arg1/arg2 = 4/128."; break;
  88 + case GF_E_SP128_A: s = "With -m SPLIT, w=128, -r ALTMAP only with arg1/arg2 = 4/128."; break;
  89 + case GF_E_SP128_S: s = "With -m SPLIT, w=128, -r SSE|NOSSE only with arg1/arg2 = 4/128."; break;
90 90 case GF_E_SPLIT_W: s = "With -m SPLIT, w must be in {8, 16, 32, 64, 128}."; break;
91 91 case GF_E_SP_16AR: s = "With -m SPLIT, w=16, Bad arg1/arg2."; break;
92 92 case GF_E_SP_16_A: s = "With -m SPLIT, w=16, -r ALTMAP only with arg1/arg2 = 4/16."; break;
... ...