Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CN: Implement bitwise subtraction #485

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Conversation

dc-mak
Copy link
Contributor

@dc-mak dc-mak commented Aug 13, 2024

Fixes #255

@dc-mak dc-mak merged commit 273815c into rems-project:master Aug 13, 2024
2 checks passed
Fixes rems-project#255

Though the test looks like it is for pointer difference, the actual
issue is that the elaboration has `array_shift( a_533, signed int,   0 -
a_534)`, and it is the `0 - a534` which was causing the error.

In principle we can/should have pure subtraction at integer and real
types as well, but this can be generalised later as and when the need
arises.
@dc-mak dc-mak deleted the cn-bw-sub branch August 13, 2024 14:55
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.

[CN] VIP implement pointer subtraction
1 participant