Skip to content

Commit

Permalink
Add maxargs to cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Jan 14, 2024
1 parent 395a9f1 commit dc5daaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LLVMImporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,10 +761,10 @@ def build_cc_hexagon_32_sdb_txt(
"Could not assign register {} to a specific return" " value.".format(reg)
)

f.write("default.cc=hexagon\n\nhexagon=cc\n")
f.write("default.cc=hexagon\n\nhexagon=cc\ncc.hexagon.maxargs=6\n")
for k, v in cc_dict.items():
f.write(k + "=" + v + "\n")
f.write("\nhvx=cc\ncc.hvx.name=hvx\n")
f.write("\nhvx=cc\ncc.hvx.name=hvx\ncc.hvx.maxargs=16\n")

cc_dict = dict()
for reg in HexagonArchInfo.CC_REGS["HVX_args"]:
Expand Down

0 comments on commit dc5daaf

Please sign in to comment.