From 435d8ae5367a23699e0b8d2b68b9928367252a54 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Tue, 31 Aug 2021 09:27:30 +0200 Subject: [PATCH] stage2 ARM: add missing parameters for bic, bics --- src/codegen/arm.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen/arm.zig b/src/codegen/arm.zig index 3743afd50f..42e3e52fac 100644 --- a/src/codegen/arm.zig +++ b/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); }