Skip to content

Make IN/OUT Intrinsics variadic #362

@rkabrick

Description

@rkabrick

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)
}

Metadata

Metadata

Assignees

Labels

SCCompStoneCutter Compiler LibraryStoneCutterStoneCutter Language and ToolsVLIWenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions