commit | 27557e71102055889cc9d2213024e154655b3d92 | [log] [tgz] |
---|---|---|
author | Matt Turner <mattst88@gmail.com> | Tue Jun 16 16:53:57 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Fri Jun 19 02:10:40 2020 +0000 |
tree | 67b980c4660badc7c85e237742e57068ecca59ad | |
parent | f8110226baa8239540bedbb6c2ae95812f0cbc4b [diff] |
intel/tools: Remove unnecessary reg number checking a0 is the only address register, and cr0 is the only control register, so there's no need to return the register number, espcially since the lexer explicitly consumes "a0" and "cr0". Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5514>