search for: if_insn

Displaying 1 result from an estimated 1 matches for "if_insn".

2009 Jun 21
0
[PATCH] nv50: initial support for IF, ELSE, ENDIF insns
...* instruction where this reg is last read (first insn == 1) */ }; +#define MAX_IF_LEVEL 4 /* arbitrary value */ + struct nv50_pc { struct nv50_program *p; @@ -119,11 +121,17 @@ struct nv50_pc { struct nv50_reg r_hpos[4]; + struct nv50_program_exec *if_cond; + struct nv50_program_exec *if_insn[MAX_IF_LEVEL]; + struct nv50_program_exec *if_join[MAX_IF_LEVEL]; + unsigned if_lvl; + /* current instruction and total number of insns */ unsigned insn_cur; unsigned insn_nr; boolean allow32; + boolean join_on; }; static inline void @@ -208,22 +216,6 @@ alloc_temp(struct nv50_pc *pc,...