Project Description

Valgrind currently lacks support for 80-bit extended precision floating point arithmetic on x86_64 (long double). The current implementation uses 64-bit arithmetic instead, which means that programs running on x86_64 with "long double" give different results when running under Valgrind and natively. People were asking for support for this since like forever, but to date nobody went on implementing it. It's a project for a year, unless somebody has time to work on it full time, but one has to start somewhere. :-)

Goal for this Hackweek

  • figure out what needs to be changed in the current implementation
  • figure out what are the possibilities of testing it
  • compile a list of instructions to be implemented
  • write a test program exercising every instruction to be implemented individually
    • must demonstrate no loss of accuracy
    • example: none/tests/amd64/sse4-64.c
  • clone valgrind repo and start commiting

The result of the hackweek should be the test case and some writeup on what else needs to happen.

Resources

Looking for hackers with the skills:

c x86_64 valgrind assembly floating-point x86

This project is part of:

Hack Week 23

Activity

  • 25 days ago: mbrugger liked this project.
  • 25 days ago: dfaggioli liked this project.
  • 25 days ago: mschreiner liked this project.
  • 25 days ago: mschreiner joined this project.
  • 27 days ago: wfrisch liked this project.
  • 27 days ago: e_bischoff liked this project.
  • 29 days ago: mfranc started this project.
  • 29 days ago: mfranc added keyword "x86" to this project.
  • 29 days ago: mfranc added keyword "floating-point" to this project.
  • 29 days ago: mfranc removed keyword floatingpointarithmetic from this project.
  • 29 days ago: mfranc added keyword "floatingpointarithmetic" to this project.
  • 29 days ago: mfranc added keyword "assembly" to this project.
  • 29 days ago: mfranc added keyword "valgrind" to this project.
  • 29 days ago: mfranc added keyword "x86_64" to this project.
  • 29 days ago: mfranc added keyword "c" to this project.
  • 29 days ago: mfranc originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    Extend GObject based introspectable API to libzypp by zbenjamin

    [comment]: # (Please use the project descriptio...


    Vulkan Widget for GTK by yudaike

    [comment]: # (Please use the project descriptio...


    Deep Packet Inspection: compare the performance between libnetfilter_queue, NF_HOOK and eBPF XDP by nguyens

    Deep Packet Inspection: compare the performan...


    Avahi Integration and Network Connection by vojha

    Avahi Integration and Network Connection

    ...


    Port OTPClient to GTK >= 4.12 by pstivanin

    Project Description

    OTPClient is currentl...


    Port the Jetpac game to the NES by mssola

    Project Description

    I want to do a port o...