Skip to content

[mono][jit] arm64 neon opcodes#81026

Merged
jandupej merged 17 commits intodotnet:mainfrom
jandupej:arm64-neon-opcodes
Jan 31, 2023
Merged

[mono][jit] arm64 neon opcodes#81026
jandupej merged 17 commits intodotnet:mainfrom
jandupej:arm64-neon-opcodes

Conversation

@jandupej
Copy link
Contributor

@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
Contributor 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants