projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956c156
)
intel/eu/gen12: Implement control flow instruction binary encoding.
author
Francisco Jerez
<currojerez@riseup.net>
Fri, 23 Aug 2019 01:14:12 +0000
(18:14 -0700)
committer
Francisco Jerez
<currojerez@riseup.net>
Fri, 11 Oct 2019 19:24:16 +0000
(12:24 -0700)
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_inst.h
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_inst.h
b/src/intel/compiler/brw_inst.h
index cc01b4e5a70ba8b36c0fe3498685862e1a67591b..dd5ea44c9934db6db64109327b5ca0f42bc8764f 100644
(file)
--- a/
src/intel/compiler/brw_inst.h
+++ b/
src/intel/compiler/brw_inst.h
@@
-532,6
+532,9
@@
brw_inst_set_uip(const struct gen_device_info *devinfo,
{
assert(devinfo->gen >= 6);
+ if (devinfo->gen >= 12)
+ brw_inst_set_src1_is_imm(devinfo, inst, 1);
+
if (devinfo->gen >= 8) {
brw_inst_set_bits(inst, 95, 64, (uint32_t)value);
} else {
@@
-559,6
+562,9
@@
brw_inst_set_jip(const struct gen_device_info *devinfo,
{
assert(devinfo->gen >= 6);
+ if (devinfo->gen >= 12)
+ brw_inst_set_src0_is_imm(devinfo, inst, 1);
+
if (devinfo->gen >= 8) {
brw_inst_set_bits(inst, 127, 96, (uint32_t)value);
} else {