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

ARM - typing error: unknown primitive: `REV' #618

Closed
tfaoliveira opened this issue Oct 16, 2023 · 0 comments
Closed

ARM - typing error: unknown primitive: `REV' #618

tfaoliveira opened this issue Oct 16, 2023 · 0 comments
Labels
arm Related to the arm port feature request

Comments

@tfaoliveira
Copy link
Member

It seems that REV is not supported yet. It would be useful to improve this armv7m sha256 implementation.
When compiling the following piece of code:

export fn trev(reg u32 a) -> reg u32
{
  a = #REV(a);
  return a;
}

I get:

jasminc -arch=arm-m4 -o rev.s rev.jazz
warning: support of the ARMv7 architecture is experimental
"rev.jazz", line 3 (7-10):
typing error: unknown primitive: `REV'
make: *** [Makefile:2: rev.s] Error 1
@tfaoliveira tfaoliveira added feature request arm Related to the arm port labels Oct 16, 2023
bgregoir added a commit that referenced this issue Oct 17, 2023
vbgl pushed a commit that referenced this issue Oct 17, 2023
vbgl pushed a commit that referenced this issue Oct 18, 2023
Fixes #618

(cherry picked from commit f041500)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm Related to the arm port feature request
Projects
None yet
Development

No branches or pull requests

1 participant