freedreno/ir3: split float/int abs/neg
authorRob Clark <robclark@freedesktop.org>
Sun, 29 Mar 2015 15:18:29 +0000 (11:18 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 5 Apr 2015 16:44:01 +0000 (12:44 -0400)
commit104713d9f2dced94a427004a25c54b2c7feee166
treea5aa80e953c25828ab376b009027bb4106661ba8
parent203f37540a698a812f0a66e2f3f1fff954af22ab
freedreno/ir3: split float/int abs/neg

Even though in the end, they map to the same bits, the backend will need
to be able to differentiate float abs/neg vs integer abs/neg.  Rather
than making the backend figure it out based on instruction opcode (which
when combined with mov/absneg instructions, can be awkward), just split
out different flags for each so the frontend can signal it's intentions
more clearly.  Also, since (neg) for bitwise op's is actually a bitwise-
not, split it out into bnot flag.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3.c
src/gallium/drivers/freedreno/ir3/ir3.h
src/gallium/drivers/freedreno/ir3/ir3_compiler.c
src/gallium/drivers/freedreno/ir3/ir3_cp.c
src/gallium/drivers/freedreno/ir3/ir3_dump.c