Skip to content

Support renamed SoftFloat types - #11

Merged
huangminghuang merged 1 commit into
masterfrom
fix/softfloat-renamed-types
May 26, 2026
Merged

Support renamed SoftFloat types#11
huangminghuang merged 1 commit into
masterfrom
fix/softfloat-renamed-types

Conversation

@huangminghuang

@huangminghuang huangminghuang commented May 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update sys-vm's SoftFloat integration to use the canonical softfloat32_t and softfloat64_t type names.
  • Point the local Wire vcpkg registry config at the registry commit that contains softfloat@3.0.0#1.
  • Bump the CMake package version to 1.1.1 to match the registry port version consuming this change.

What changed

  • Renamed legacy SoftFloat carrier types in include/sysio/vm/softfloat.hpp and the x86_64 softfloat glue.
  • Kept the non-SoftFloat x86_64 fallback aliases, but renamed them to the new canonical names so templated call sites stay uniform.
  • Added the registry reference pin alongside the baseline so standalone eos-vm builds resolve the fixed SoftFloat port.

Why

softfloat@3.0.0#1 exports SOFTFLOAT_DISABLE_LEGACY_TYPE_ALIASES, so consumers can no longer rely on float32_t and float64_t. This lets sys-vm build against the fixed SoftFloat package used by the macOS arm64 Wire Sysio dependency update.

Testing

  • cmake -B build/softfloat-rename -S . -G Ninja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=OFF -DENABLE_SOFTFLOAT_INSTALL=OFF -DCMAKE_INSTALL_PREFIX=/tmp/eos-vm-softfloat-rename-install -DCMAKE_TOOLCHAIN_FILE=$PWD/../wire-sysio/vcpkg/scripts/buildsystems/vcpkg.cmake
  • cmake --build build/softfloat-rename --target install -- -j6

@huangminghuang
huangminghuang merged commit 72a9985 into master May 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants