Re: [PATCH] softfloat: Mark base int-to-float routines QEMU_FLATTEN

2020-10-19 Thread Alex Bennée
Richard Henderson writes: > This merges the int_to_float routine and the round_pack_canonical > routine into the same function, allowing the FloatParts structure > to be decomposed by the compiler. > > This results in a 60-75% speedup of the flattened function. > > Leave the narrower integer in

Re: [PATCH] softfloat: Mark base int-to-float routines QEMU_FLATTEN

2020-10-19 Thread Philippe Mathieu-Daudé
On 10/18/20 10:33 PM, Richard Henderson wrote: This merges the int_to_float routine and the round_pack_canonical routine into the same function, allowing the FloatParts structure to be decomposed by the compiler. This results in a 60-75% speedup of the flattened function. Leave the narrower int

Re: [PATCH] softfloat: Mark base int-to-float routines QEMU_FLATTEN

2020-10-18 Thread no-reply
] softfloat: Mark base int-to-float routines QEMU_FLATTEN === TEST SCRIPT BEGIN === #!/bin/bash git rev-parse base > /dev/null || exit 0 git config --local diff.renamelimit 0 git config --local diff.renames True git config --local diff.algorithm histogram ./scripts/checkpatch.pl --mailback base.. === T

[PATCH] softfloat: Mark base int-to-float routines QEMU_FLATTEN

2020-10-18 Thread Richard Henderson
This merges the int_to_float routine and the round_pack_canonical routine into the same function, allowing the FloatParts structure to be decomposed by the compiler. This results in a 60-75% speedup of the flattened function. Leave the narrower integer inputs to tail-call the int64_t version. Bu