authorgravatar for joachim.schmidt557@outlook.comJoachim Schmidt <joachim.schmidt557@outlook.com> 2021-08-31 09:27:30+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-08-31 14:05:20-04:00
log435d8ae5367a23699e0b8d2b68b9928367252a54
tree4723e7cf121237d51b19a105b16be3e79773ba14
parent50c6b6cc66e8e7501f7ebf5d3846a365d1d47eb8

stage2 ARM: add missing parameters for bic, bics


1 files changed, 2 insertions(+), 2 deletions(-)

src/codegen/arm.zig+2-2
...@@ -886,11 +886,11 @@ pub const Instruction = union(enum) {...@@ -886,11 +886,11 @@ pub const Instruction = union(enum) {
886 return dataProcessing(cond, .mov, 1, rd, .r0, op2);886 return dataProcessing(cond, .mov, 1, rd, .r0, op2);
887 }887 }
888888
889 pub fn bic(cond: Condition, rd: Register, op2: Operand) Instruction {889 pub fn bic(cond: Condition, rd: Register, rn: Register, op2: Operand) Instruction {
890 return dataProcessing(cond, .bic, 0, rd, rn, op2);890 return dataProcessing(cond, .bic, 0, rd, rn, op2);
891 }891 }
892892
893 pub fn bics(cond: Condition, rd: Register, op2: Operand) Instruction {893 pub fn bics(cond: Condition, rd: Register, rn: Register, op2: Operand) Instruction {
894 return dataProcessing(cond, .bic, 1, rd, rn, op2);894 return dataProcessing(cond, .bic, 1, rd, rn, op2);
895 }895 }
896896