]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r323001:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Sep 2017 17:35:33 +0000 (17:35 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Sep 2017 17:35:33 +0000 (17:35 +0000)
commit956f58b25e7a9a9e4625863d3a9ba2dd59f329fc
tree3d394c136dea13435c3a70b3b1a18077ed098c54
parentfb00ec8e8fdc6c41186d29530aa7a71e6328bd70
MFC r323001:

In compiler-rt, a few assembler implementations for i386 floating point
conversion functions use SSE2 instructions, but these are not guarded by
#ifdef __SSE2__, and there is no implementation using general purpose
registers.  For these functions, use the generic C variants instead,
otherwise they will cause SIGILL on older processors.

Reported by:  bsdpr@phoe.frmug.org
PR:           221733

MFC r323014:

Follow-up to r323001: if the actually selected CPUTYPE is capable of
SSE2 instructions, we can use them.

Suggested by: jkim

git-svn-id: svn://svn.freebsd.org/base/stable/9@323190 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libcompiler_rt/Makefile