intel/tools: Require explicit regions/types for special regs
authorMatt Turner <mattst88@gmail.com>
Tue, 16 Jun 2020 23:54:07 +0000 (16:54 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Jun 2020 02:10:40 +0000 (02:10 +0000)
commitcc6fc963f02f727101f95d086065f332bd89e9e7
treefa2f60c07365ffddaf7272d7c356e889b1eb2200
parent9feb6302f93a3c4192f6eaaf8651154d419ff4ca
intel/tools: Require explicit regions/types for special regs

The docs say that these registers should  only be read with a certain
type, and I'm inclined to believe that the hardware behaves that way,
but it makes the assembler a little more confusing and also confuses the
user of the assembler that some operands don't take types or regions.

Just always requiring regions and types seems like the sensible thing.

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5514>
src/intel/tools/i965_gram.y