svp drc, another bugfix
authorkub <derkub@gmail.com>
Wed, 26 Jan 2022 19:45:19 +0000 (19:45 +0000)
committerkub <derkub@gmail.com>
Wed, 26 Jan 2022 19:45:19 +0000 (19:45 +0000)
pico/carthw/svp/compiler.c

index 14e9ebf..c48c665 100644 (file)
@@ -990,6 +990,7 @@ static void tr_r0_to_ST(int const_val)
        EOP_ORR_REG_LSL(6, 6, 1, 4);            // orr   r6, r6, r1, lsl #4
        TR_WRITE_R0_TO_REG(SSP_ST);
        hostreg_r[1] = -1;
+       known_regb &= ~KRREG_ST;
        dirty_regb &= ~KRREG_ST;
 }