Commit 38218ab7 authored by Timothy Arceri's avatar Timothy Arceri Committed by Marge Bot
Browse files

lima: add missing fallthrough comments


Reviewed-by: Erico Nunes's avatarErico Nunes <nunes.erico@gmail.com>
Part-of: <mesa/mesa!5799>
parent 745aeba6
......@@ -114,6 +114,7 @@ static void gpir_codegen_mul0_slot(gpir_codegen_instr *code, gpir_instr *instr)
case gpir_op_neg:
code->mul0_neg = true;
/* fallthrough */
case gpir_op_mov:
code->mul0_src0 = gpir_get_alu_input(node, alu->children[0]);
code->mul0_src1 = gpir_codegen_src_ident;
......@@ -173,6 +174,7 @@ static void gpir_codegen_mul1_slot(gpir_codegen_instr *code, gpir_instr *instr)
case gpir_op_neg:
code->mul1_neg = true;
/* fallthrough */
case gpir_op_mov:
code->mul1_src0 = gpir_get_alu_input(node, alu->children[0]);
code->mul1_src1 = gpir_codegen_src_ident;
......@@ -265,6 +267,7 @@ static void gpir_codegen_add0_slot(gpir_codegen_instr *code, gpir_instr *instr)
case gpir_op_neg:
code->acc0_src0_neg = true;
/* fallthrough */
case gpir_op_mov:
code->acc_op = gpir_codegen_acc_op_add;
code->acc0_src0 = gpir_get_alu_input(node, alu->children[0]);
......@@ -349,6 +352,7 @@ static void gpir_codegen_add1_slot(gpir_codegen_instr *code, gpir_instr *instr)
case gpir_op_neg:
code->acc1_src0_neg = true;
/* fallthrough */
case gpir_op_mov:
code->acc_op = gpir_codegen_acc_op_add;
code->acc1_src0 = gpir_get_alu_input(node, alu->children[0]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment