Skip to content

Conversation

@drone29a
Copy link
Collaborator

@drone29a drone29a commented Dec 8, 2022

edit: This is a PR for #89. This is a second PR related to supporting __uint128 and __uint128_t. I somehow missed #89 was a PR and not just a bug report. The PRs are similar.

This PR resolves the issue I had when using language-c via c2hs to build a package on a computer with an Apple M1 processor. More information is provided in #89.

Please note that tests for language-c are failing for me before and after applying this patch.

This PR adds __unint128 and __unint128_t as tokens and updates the parser grammar to include __unint128 as a basic_type_name. I also updated the tokenlist.txt file and used it to generate the token description located in Lexer.x. There was a little bit of manual editing required in order to add back the condition on the IEC_60559_TYPES_EXT symbol for the IEC 60559 floats.

@expipiplus1 expipiplus1 merged commit 94c5ace into visq:master Jan 10, 2023
@expipiplus1
Copy link
Collaborator

jsoo1 added a commit to awakesecurity/nixpkgs that referenced this pull request Dec 20, 2023
Adds __uint128_t support for aarch64-darwin:

visq/language-c#92
jsoo1 added a commit to awakesecurity/nixpkgs that referenced this pull request Dec 20, 2023
Adds __uint128_t support for aarch64-darwin:

visq/language-c#92
jsoo1 added a commit to awakesecurity/nixpkgs that referenced this pull request Dec 20, 2023
Adds __uint128_t support for aarch64-darwin:

visq/language-c#92
jsoo1 added a commit to awakesecurity/nixpkgs that referenced this pull request Dec 22, 2023
Adds __uint128_t support for aarch64-darwin:

visq/language-c#92
jsoo1 added a commit to awakesecurity/nixpkgs that referenced this pull request Jan 13, 2024
Adds __uint128_t support for aarch64-darwin:

visq/language-c#92
tm-drtina pushed a commit to awakesecurity/nixpkgs that referenced this pull request Feb 28, 2024
Adds __uint128_t support for aarch64-darwin:

visq/language-c#92
tm-drtina pushed a commit to awakesecurity/nixpkgs that referenced this pull request Apr 8, 2024
Adds __uint128_t support for aarch64-darwin:

visq/language-c#92
tm-drtina pushed a commit to awakesecurity/nixpkgs that referenced this pull request May 16, 2024
Adds __uint128_t support for aarch64-darwin:

visq/language-c#92
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