summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gfx16.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gfx16.c b/src/gfx16.c
index 63c5c2d..2ad156f 100644
--- a/src/gfx16.c
+++ b/src/gfx16.c
@@ -3050,6 +3050,7 @@ _ROP_##rop##half \
" bmi 2f \n"
" mov r1, r0 \n"
" mov r2, r0 \n"
+ " bic %[p], #3 \n"
"1: \n"
" subs %[width], %[width], #8 \n"
@@ -3059,6 +3060,7 @@ _ROP_##rop##half \
"2: \n"
" tst %[width], #1 \n"
" strneh %[back], [%[p]], #2 \n"
+ " bic %[p], #3 \n"
" tst %[width], #2 \n"
" strne %[back], [%[p]], #4 \n"