diff options
Diffstat (limited to 'results/classifier/deepseek-2-tmp/output/assembly/1759264')
| -rw-r--r-- | results/classifier/deepseek-2-tmp/output/assembly/1759264 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/results/classifier/deepseek-2-tmp/output/assembly/1759264 b/results/classifier/deepseek-2-tmp/output/assembly/1759264 new file mode 100644 index 000000000..ddf635d2e --- /dev/null +++ b/results/classifier/deepseek-2-tmp/output/assembly/1759264 @@ -0,0 +1,9 @@ + +fpu/softfloat: round_to_int_and_pack refactor broke TriCore ftoi insns + +After the refactor from ab52f973a504f8de0c5df64631ba4caea70a7d9e the bahaviour of int32_to_float32() was altered. + +helper_ftoi() in target/tricore/fpu_helper.c relied on int32_to_float32 to raise the invalid flag if the input was NaN to properly return 0. Likewise if the input is infinity. + +The obvious fix for softfloat would be to raise this flag in round_to_int_and_pack(). However, +I'm not sure if this breaks other targets and I have no easy way to test it. \ No newline at end of file |