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

Make IN/OUT Intrinsics variadic #362

Open
rkabrick opened this issue Jan 12, 2022 · 0 comments
Open

Make IN/OUT Intrinsics variadic #362

rkabrick opened this issue Jan 12, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request SCComp StoneCutter Compiler Library StoneCutter StoneCutter Language and Tools VLIW

Comments

@rkabrick
Copy link
Contributor

I foresee the SC files getting pretty ugly if users define multiple INs and OUTs...

ie

def ...
  IN(reg1)
  IN(reg2)
  IN(opc)
  ...
  OUT(ra)
  OUT(rb)
  OUT(rt)
}

I propose we change the intrinsics to be variadic such that the above example would turn into

def ...
  IN(reg1, reg2, opc)
  ... 
  OUT(ra, rb, rt)
}
@rkabrick rkabrick self-assigned this Jan 12, 2022
@rkabrick rkabrick added enhancement New feature or request SCComp StoneCutter Compiler Library StoneCutter StoneCutter Language and Tools VLIW labels Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SCComp StoneCutter Compiler Library StoneCutter StoneCutter Language and Tools VLIW
Projects
None yet
Development

No branches or pull requests

1 participant