Kenneth Graunke <kenn...@whitecape.org> writes: > The simulator gets very angry about our i2b code: > > cmp.ne(16) g3<1>D g2<0,1,0>D 0F > > We can't mix integer DWord and float types. The only reason to use 0F > here was to share code with f2b. Split it and use 0D instead.
My understanding is that nothing *actually* goes wrong here (the hw just treats both things as the type of the first arg), but it seems entirely reasonable for the simulator to warn us because usually it would be due to us screwing up, and it'll save us some time some day when we look at the generated code ourselves and wonder why there's a float there. Reviewed-by: Eric Anholt <e...@anholt.net>
pgpOXJt5SBHSG.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev