Re: [PULL 14/31] target/i386: reimplement f2xm1 using floatx80 operations

2020-07-14 Thread Laszlo Ersek
On 06/24/20 12:50, Paolo Bonzini wrote: > From: Joseph Myers > > The x87 f2xm1 emulation is currently based around conversion to > double. This is inherently unsuitable for a good emulation of any > floatx80 operation, even before considering that it is a particularly > naive implementation

[PULL 14/31] target/i386: reimplement f2xm1 using floatx80 operations

2020-06-24 Thread Paolo Bonzini
From: Joseph Myers The x87 f2xm1 emulation is currently based around conversion to double. This is inherently unsuitable for a good emulation of any floatx80 operation, even before considering that it is a particularly naive implementation using double (computing with pow and then subtracting 1