Re: SSE2 instructions emitted in libcompiler_rt

2017-09-08 Thread Patrick Wildt
On Fri, Sep 08, 2017 at 10:15:25AM -0700, Mike Larkin wrote: > On Thu, Sep 07, 2017 at 06:52:34PM +0200, Christian Weisgerber wrote: > > Christian Weisgerber: > > > > > > Maybe this would already help? Would at least not throw stones into the > > > > way of the next person doing an upgrade of com

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-08 Thread Mike Larkin
On Thu, Sep 07, 2017 at 06:52:34PM +0200, Christian Weisgerber wrote: > Christian Weisgerber: > > > > Maybe this would already help? Would at least not throw stones into the > > > way of the next person doing an upgrade of compiler-rt... > > -snip- > > > > Yes, that's better... but errors out: >

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-08 Thread Christian Weisgerber
On 2017-09-07, Christian Weisgerber wrote: > However, I don't know how to test that these functions actually work. FWIW, I checked all *.o files from a make build of base, but there are no references to __float(di|undi)[dsx]f. I guess nothing uses these functions and clang doesn't generate code

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-07 Thread Christian Weisgerber
Christian Weisgerber: > > Maybe this would already help? Would at least not throw stones into the > > way of the next person doing an upgrade of compiler-rt... > -snip- > > Yes, that's better... but errors out: > make: don't know how to make floatdixf.c.c (prerequisite of: floatdixf.c.o) Oh, it

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-07 Thread Christian Weisgerber
Patrick Wildt: > Maybe this would already help? Would at least not throw stones into the > way of the next person doing an upgrade of compiler-rt... -snip- Yes, that's better... but errors out: make: don't know how to make floatdixf.c.c (prerequisite of: floatdixf.c.o) -- Christian "naddy" We

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-06 Thread Mike Larkin
On Wed, Sep 06, 2017 at 11:54:38PM +0200, Patrick Wildt wrote: > On Wed, Sep 06, 2017 at 11:43:15PM +0200, Christian Weisgerber wrote: > > Somebody noticed this on FreeBSD: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221733 > > > > On i386, libcompiler_rt includes assembly implementation

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-06 Thread Mike Larkin
On Wed, Sep 06, 2017 at 11:43:15PM +0200, Christian Weisgerber wrote: > Somebody noticed this on FreeBSD: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221733 > > On i386, libcompiler_rt includes assembly implementations for > floating point conversion functions that unconditionally use SSE2

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-06 Thread Patrick Wildt
On Wed, Sep 06, 2017 at 11:43:15PM +0200, Christian Weisgerber wrote: > Somebody noticed this on FreeBSD: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221733 > > On i386, libcompiler_rt includes assembly implementations for > floating point conversion functions that unconditionally use SSE2

SSE2 instructions emitted in libcompiler_rt

2017-09-06 Thread Christian Weisgerber
Somebody noticed this on FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221733 On i386, libcompiler_rt includes assembly implementations for floating point conversion functions that unconditionally use SSE2 instructions, which are not supported by older CPUs. Specifically, these files