Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[mono][jit] arm64 neon opcodes #81026

Merged
merged 17 commits into from
Jan 31, 2023
Merged

Conversation

jandupej
Copy link
Member

@jandupej jandupej commented Jan 23, 2023

This adds macros for emitting arm64/neon opcodes to be used by mini JIT. FP16 and scalar are omitted for now. #80788

@ghost ghost assigned jandupej Jan 23, 2023
@jandupej jandupej marked this pull request as ready for review January 27, 2023 12:38
@jandupej jandupej requested a review from vargaz as a code owner January 27, 2023 12:38
@vargaz
Copy link
Contributor

vargaz commented Jan 27, 2023

There is a codegen-test.c which can be used to test these, the idea is to add codegen macros to it, then run the output through an assembler, and disassembler, then look at it manually, or compare it with a file:

test-codegen:
	$(CC) $(CFLAGS) -I../../.. -I../../eglib/ ../../eglib/.libs/libeglib.a -o codegen-test codegen-test.c
	./codegen-test > tmp.s
	$(CC) $(CFLAGS) -c -o tmp.o tmp.s
	objdump -d --triple=arm64e tmp.o

@jandupej
Copy link
Member Author

There is a codegen-test.c which can be used to test these, the idea is to add codegen macros to it, then run the output through an assembler, and disassembler, then look at it manually, or compare it with a file:

test-codegen:
	$(CC) $(CFLAGS) -I../../.. -I../../eglib/ ../../eglib/.libs/libeglib.a -o codegen-test codegen-test.c
	./codegen-test > tmp.s
	$(CC) $(CFLAGS) -c -o tmp.o tmp.s
	objdump -d --triple=arm64e tmp.o

To be implemented in 81420.

@jandupej jandupej merged commit ff39c6e into dotnet:main Jan 31, 2023
@jandupej jandupej deleted the arm64-neon-opcodes branch February 1, 2023 09:14
@ghost ghost locked as resolved and limited conversation to collaborators Mar 3, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants