Skip to content

RVV/Softvector Support fixes - #119

Merged
PhilippvK merged 3 commits into
coredsl2from
rvv-2026
Aug 6, 2026
Merged

RVV/Softvector Support fixes#119
PhilippvK merged 3 commits into
coredsl2from
rvv-2026

Conversation

@PhilippvK

Copy link
Copy Markdown
Member

No description provided.

@PhilippvK
PhilippvK requested a review from jokap11 August 6, 2026 11:28
@PhilippvK PhilippvK self-assigned this Aug 6, 2026
arg_type = f"{instruction_utils.data_type_map[arg.ty.ty.kind]}* "
arg_size = actual_size(arg.ty.ty.size)
full_type = f"{arg_type}{arg_size}*"
if arg.ty.ty.kind == type_info.TypeKind.VOID:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The case might not be necessary or is something not working here? The map has also the VOID case in there:

type_info.TypeKind.VOID: 'void'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jokap11 but void pointers have a size=None which breaks arg_size = actual_size(arg.ty.ty.size).

But you are correct that I could still use data_type_map. Let me know if I should change it.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not really matter anyways, but thanks for the explanation. LGTM now!

@jokap11

jokap11 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

One notated thing. Rest looks nice. Maybe update also this here?

//"--separate",

I am probably the only user anyways, so skip if too much effort ;)

@PhilippvK

Copy link
Copy Markdown
Member Author

One notated thing. Rest looks nice. Maybe update also this here?

//"--separate",

I am probably the only user anyways, so skip if too much effort ;)

i don’t want to update the launch.json without testing it, hence I will merge without a change. Feel free to follow up later.

@PhilippvK
PhilippvK merged commit ef9dba5 into coredsl2 Aug 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants