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

Internal asmgen error for invalid intrinsic argument #877

Open
sarranz opened this issue Aug 15, 2024 · 1 comment
Open

Internal asmgen error for invalid intrinsic argument #877

sarranz opened this issue Aug 15, 2024 · 1 comment

Comments

@sarranz
Copy link
Collaborator

sarranz commented Aug 15, 2024

This program

export
fn f () -> reg u64 {
  reg u64 msf;

  msf = #NOT(0);
  return msf;
}

gives

"ble.jazz", line 5 (2-16):
internal compilation error in function f:
  asmgen: (compile_arg) not compatible asm_arg
Please report at https://github.com/jasmin-lang/jasmin/issues
@sarranz sarranz added the bug label Aug 15, 2024
@sarranz
Copy link
Collaborator Author

sarranz commented Aug 27, 2024

Also

export
fn f(reg u64 x) -> reg u64 {
    x = 3 | x;
    return x;
}

@vbgl vbgl added the lowering label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants