freedreno/a3xx/compiler: add SSG

Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
Rob Clark 2014-02-26 14:34:05 -05:00
parent 44c8f96b0d
commit 8dd70125fc
2 changed files with 2 additions and 0 deletions

View file

@ -1738,6 +1738,7 @@ static const struct instr_translater translaters[TGSI_OPCODE_LAST] = {
INSTR(CLAMP, trans_clamp), INSTR(CLAMP, trans_clamp),
INSTR(FLR, instr_cat2, .opc = OPC_FLOOR_F), INSTR(FLR, instr_cat2, .opc = OPC_FLOOR_F),
INSTR(ROUND, instr_cat2, .opc = OPC_RNDNE_F), INSTR(ROUND, instr_cat2, .opc = OPC_RNDNE_F),
INSTR(SSG, instr_cat2, .opc = OPC_SIGN_F),
INSTR(ARL, trans_arl), INSTR(ARL, trans_arl),
INSTR(EX2, instr_cat4, .opc = OPC_EXP2), INSTR(EX2, instr_cat4, .opc = OPC_EXP2),
INSTR(LG2, instr_cat4, .opc = OPC_LOG2), INSTR(LG2, instr_cat4, .opc = OPC_LOG2),

View file

@ -1266,6 +1266,7 @@ static const struct instr_translater translaters[TGSI_OPCODE_LAST] = {
INSTR(CLAMP, trans_clamp), INSTR(CLAMP, trans_clamp),
INSTR(FLR, instr_cat2, .opc = OPC_FLOOR_F), INSTR(FLR, instr_cat2, .opc = OPC_FLOOR_F),
INSTR(ROUND, instr_cat2, .opc = OPC_RNDNE_F), INSTR(ROUND, instr_cat2, .opc = OPC_RNDNE_F),
INSTR(SSG, instr_cat2, .opc = OPC_SIGN_F),
INSTR(ARL, trans_arl), INSTR(ARL, trans_arl),
INSTR(EX2, instr_cat4, .opc = OPC_EXP2), INSTR(EX2, instr_cat4, .opc = OPC_EXP2),
INSTR(LG2, instr_cat4, .opc = OPC_LOG2), INSTR(LG2, instr_cat4, .opc = OPC_LOG2),