From: Matt Turner Date: Tue, 27 Nov 2018 19:20:20 +0000 (-0800) Subject: intel/compiler: Split 64-bit MOV-indirects if needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8534742404a7cec87b5c01011b68dd9ca6f2493e;p=mesa.git intel/compiler: Split 64-bit MOV-indirects if needed Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/compiler/brw_fs_generator.cpp b/src/intel/compiler/brw_fs_generator.cpp index 9088c97d92b..130c475fada 100644 --- a/src/intel/compiler/brw_fs_generator.cpp +++ b/src/intel/compiler/brw_fs_generator.cpp @@ -440,7 +440,8 @@ fs_generator::generate_mov_indirect(fs_inst *inst, if (type_sz(reg.type) > 4 && ((devinfo->gen == 7 && !devinfo->is_haswell) || - devinfo->is_cherryview || gen_device_info_is_9lp(devinfo))) { + devinfo->is_cherryview || gen_device_info_is_9lp(devinfo) || + !devinfo->has_64bit_types)) { /* IVB has an issue (which we found empirically) where it reads two * address register components per channel for indirectly addressed * 64-bit sources.