[Bug 295268] x11/pixman: MMX Support unavailable, but required

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295268

--- Comment #3 from Dan Kotowski <[email protected]> ---
I pulled out the has_mmx test to experiment and found that `cc -mmmx -Winline`
fails to compile, but `cc -mmmx -sse2 -Winline` succeeds.

A bit odd, since it's definitely an MMX intrinsic and not a SSE2 intrinsic.

https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#cats=Convert&text=_mm_cvtsi64_si32&ig_expand=2240

Also, it seems that `gcc -mmmx -Winline` without `-msse2` works.

Either way, I think given that i386 is on life support AND we even set
MESON_FLAGS+= mmx, sse2, and sse3 in the Makefile, maybe we just do something
simple like:


$ diff meson.build.orig meson.build
101c101
<   mmx_flags = ['-mmmx', '-Winline']
---
>   mmx_flags = ['-mmmx', '-msse2', '-Winline']


I tested with this and everything built as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.