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

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

  • Comments

    Be the first to comment!

    Similar Projects

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

    Deep Packet Inspection: compare the performan...


    Vulkan Widget for GTK by yudaike

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


    Port OTPClient to GTK >= 4.12 by pstivanin

    Project Description

    OTPClient is currentl...


    The Missing Middle: Add an intermediate brightness setting for auxiliary LEDs in Andúril 2 by gkenion

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


    Avahi Integration and Network Connection by vojha

    Avahi Integration and Network Connection

    ...


    Port the Jetpac game to the NES by mssola

    Project Description

    I want to do a port o...