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

[CPU] Add support for parsing AArch64 cpu features. #19881

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

hanhanW
Copy link
Contributor

@hanhanW hanhanW commented Feb 3, 2025

A step towards #19873

Signed-off-by: hanhanW <hanhan0912@gmail.com>
@hanhanW hanhanW requested a review from bjacob February 3, 2025 15:42
Copy link
Contributor Author

@hanhanW hanhanW left a comment

Choose a reason for hiding this comment

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

The logic is inspired from the AArch64AsmParser. I honestly dont know if it is a proper fix or not, and I don't know how if we need a test or not.

I can reproduce the issue (using mnist12) on my mac, and the PR does address the issue.

Signed-off-by: hanhanW <hanhan0912@gmail.com>
@hanhanW
Copy link
Contributor Author

hanhanW commented Feb 3, 2025

Actually, I only verified that it fixes the compilation. For runtime, it crashes with zsh: bus error log.

@hanhanW hanhanW marked this pull request as draft February 3, 2025 15:57
Copy link
Contributor

@bjacob bjacob left a comment

Choose a reason for hiding this comment

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

Nice!

@bjacob
Copy link
Contributor

bjacob commented Feb 3, 2025

Actually, I only verified that it fixes the compilation. For runtime, it crashes with zsh: bus error log.

Yeah, the runtime error is definitely something else.

@hanhanW hanhanW marked this pull request as ready for review February 3, 2025 17:17
@hanhanW
Copy link
Contributor Author

hanhanW commented Feb 3, 2025

I see, thanks for the review!

@hanhanW hanhanW merged commit e14d6cd into iree-org:main Feb 3, 2025
43 checks passed
@hanhanW hanhanW deleted the parse-aarch64-features branch February 3, 2025 17:17
ita9naiwa pushed a commit to ita9naiwa/iree that referenced this pull request Feb 4, 2025
A step towards iree-org#19873

---------

Signed-off-by: hanhanW <hanhan0912@gmail.com>
Signed-off-by: Hyunsung Lee <ita9naiwa@gmail.com>
@ScottTodd ScottTodd mentioned this pull request Feb 7, 2025
6 tasks
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