https://bugs.kde.org/show_bug.cgi?id=489338

            Bug ID: 489338
           Summary: arm64: Instruction fcvtas should round 322.5 to 323,
                    but result is 322.
    Classification: Developer tools
           Product: valgrind
           Version: 3.20.0
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: vex
          Assignee: jsew...@acm.org
          Reporter: bernha...@mailbox.org
  Target Milestone: ---

Created attachment 171101
  --> https://bugs.kde.org/attachment.cgi?id=171101&action=edit
Minimal reproducer: fp-valgrind-test.c

Hello, I was investigating a debian bug, where the continuous integration
failed
because it receives a different value when running with valgrind. [1071656]
I could track it down to a fcvtas instruction.

  => 0xaaaaaaaa4948 <ConvertToRational+104>:     fcvtas  w5, d8
(With $d8=322.5)

With plain GDB:
  (gdb) print $w5
  $2 = 323

With valgrind+GDB:
  (gdb) print $w5
  $2 = 322

Attached is a minimal reproducer.

[1071656] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071656

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to