diff options
Diffstat (limited to 'results/classifier/105/instruction/1788')
| -rw-r--r-- | results/classifier/105/instruction/1788 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/results/classifier/105/instruction/1788 b/results/classifier/105/instruction/1788 new file mode 100644 index 000000000..0f39860ed --- /dev/null +++ b/results/classifier/105/instruction/1788 @@ -0,0 +1,42 @@ +instruction: 0.965 +device: 0.884 +other: 0.878 +graphic: 0.868 +semantic: 0.861 +network: 0.795 +vnc: 0.790 +assembly: 0.750 +boot: 0.728 +socket: 0.726 +KVM: 0.711 +mistranslation: 0.593 + +Floating point rounding fails on mps3-an547 amd cortex-m55 while using LLVM-embedded-toolchain-for-Arm and Picolibic. +Description of problem: +Rounding of long double gives unexpected result. Simple code as example: +``` +#include <math.h> +int main(void) +{ + long double value = -8.5L; + long rounded_value = lrintl(value); + if( -8 == rounded_value ) + { + return 0; + } + return 1; +} +``` +Steps to reproduce: +1. Checkout project: [LLVM-embedded-toolchain-for-ARM](https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm) +2. Configure it with option -DLLVM_TOOLCHAIN_LIBRARY_VARIANTS=armv8.1m.main_hard_nofp_mve +3. Build project +4. Run Picolbic tests with ninja picolibc_armv8.1m.main_hard_nofp_mve-test + +As a result long_double test fails with incorrect rounding. +Last qemu version which successfully execute mentioned test is: qemu 7.0.0 downloaded via [qemu-7.0.0](https://download.qemu.org/qemu-7.0.0.tar.bz2). +Issue is present since qemu version 7.1. +Additional information: +As a result long_double test fails with incorrect rounding. +Last qemu version which successfully execute mentioned test is: qemu 7.0.0 downloaded via [qemu-7.0.0](https://download.qemu.org/qemu-7.0.0.tar.bz2). +Issue is present since qemu version 7.1. |