i965: Support compacted instructions with immediate sources.
authorMatt Turner <mattst88@gmail.com>
Wed, 30 Apr 2014 23:28:59 +0000 (16:28 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 25 May 2014 06:03:24 +0000 (23:03 -0700)
commit1acb3a290e34779521854a7e4e035e1cf78ab746
tree7133ca3f065f2496c395aa9a89639c5c7e83e7d7
parent8942f44c8d2ff5454d523b85ba126c6fae0d81ff
i965: Support compacted instructions with immediate sources.

Note the weirdness with src1 subregs. The compacted immediate fields are
uncompacted to bits [127:96] and the high five bits of the subreg
mapping maps to bits [100:96].

Number of compacted instructions: 790085 -> 817752 (3.50%)

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_eu_compact.c