Skip to content

__Float32x4_t and __Float64x2_t support #196

@sim642

Description

@sim642

In the latest opam-repository CI Debian 13 on ARM64 jobs, the following tests fail due __Float32x4_t and __Float64x2_t:

  • testrun/math1
  • testrun/nan-global
  • testrunc99/c99-complex
  • testrunc99/c99-float-pragma
  • testrunc99/c99-tgmath
  • testrunc99/c99-tgmath2

The errors are of the form

# /usr/include/aarch64-linux-gnu/bits/math-vector.h[156:9-22] : syntax error
# Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error")
# make: *** [Makefile:196: testrunc99/c99-tgmath] Error 2

where the problematic header has the following

typedef __Float32x4_t __f32x4_t;
typedef __Float64x2_t __f64x2_t;

These things are really getting out of hand. These are some kind of vectorized types, which we cannot even handle in much simpler forms (which occurred in some real projects we tried at some point), so we probably don't want to spend time on proper support (at least for Goblint). But losing modern Debian (and I guess soon Ubuntu) will be a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions