Commit 0d2c4e29 authored by Kenneth Graunke's avatar Kenneth Graunke

iris: Enable -msse2 and -mstackrealign

This is needed for gen_clflush.h intrinsics to work on 32-bit builds.
i965 and anv both set these, and iris needs to as well.
parent cd0ced49
Pipeline #20608 skipped
......@@ -52,7 +52,7 @@ foreach v : ['80', '90', '100', '110']
'libiris_gen@0@'.format(v),
['iris_blorp.c', 'iris_state.c', gen_xml_pack],
include_directories : [inc_common, inc_intel, inc_nir],
c_args : [c_vis_args, no_override_init_args,
c_args : [c_vis_args, no_override_init_args, c_sse2_args,
'-DGEN_VERSIONx10=@0@'.format(v)],
dependencies : [dep_libdrm, dep_valgrind],
)
......@@ -68,8 +68,8 @@ libiris = static_library(
# these should not be necessary, but main/macros.h...
inc_mesa, inc_mapi
],
c_args : [c_vis_args],
cpp_args : [cpp_vis_args],
c_args : [c_vis_args, c_sse2_args],
cpp_args : [cpp_vis_args, c_sse2_args],
dependencies : [dep_libdrm, dep_valgrind],
link_with : [iris_gen_libs, libintel_common, libintel_compiler, libintel_dev,
libisl, libblorp],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment