From 3769a2d51f593b94638743e4a174ee5b8a3d5406 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 27 May 2014 22:45:16 -0700 Subject: i965: Remove the dst and src0 parameters from brw_JMPI. In all cases, we set both dst and src0 to brw_ip_reg(). This is no accident: according to the ISA reference, both are required to be the IP register. So, we may as well drop the parameters. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_eu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_eu.h') diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index ce78c6bb4f2..fb64bc5c4cf 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -152,7 +152,6 @@ ALU2(SHL) ALU2(ASR) ALU1(F32TO16) ALU1(F16TO32) -ALU2(JMPI) ALU2(ADD) ALU2(AVG) ALU2(MUL) @@ -336,7 +335,7 @@ struct brw_instruction *brw_CONT(struct brw_compile *p); struct brw_instruction *gen6_CONT(struct brw_compile *p); struct brw_instruction *gen6_HALT(struct brw_compile *p); - +struct brw_instruction *brw_JMPI(struct brw_compile *p, struct brw_reg index); void brw_NOP(struct brw_compile *p); -- cgit v1.2.3