Commit 435d8ae536

joachimschmidt557 <joachim.schmidt557@outlook.com>
2021-08-31 09:27:30
stage2 ARM: add missing parameters for bic, bics
1 parent 50c6b6c
Changed files (1)
src
codegen
src/codegen/arm.zig
@@ -886,11 +886,11 @@ pub const Instruction = union(enum) {
         return dataProcessing(cond, .mov, 1, rd, .r0, op2);
     }
 
-    pub fn bic(cond: Condition, rd: Register, op2: Operand) Instruction {
+    pub fn bic(cond: Condition, rd: Register, rn: Register, op2: Operand) Instruction {
         return dataProcessing(cond, .bic, 0, rd, rn, op2);
     }
 
-    pub fn bics(cond: Condition, rd: Register, op2: Operand) Instruction {
+    pub fn bics(cond: Condition, rd: Register, rn: Register, op2: Operand) Instruction {
         return dataProcessing(cond, .bic, 1, rd, rn, op2);
     }