Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
cmd: Some questions about adding arm64 SIMD instruction support
69 views
Skip to first unread message
Heisenberg
unread,
Aug 28, 2020, 4:45:24 AM
8/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
case AVADD:
return 7<<25 | 1<<21 | 1<<15 | 1<<10
case AVAND:
return 7<<25 | 1<<21 | 7<<10
case AVAND:
return 7<<25 | 1<<21 | 7<<10
case AVCMEQ:
return 1<<29 | 0x71<<21 | 0x23<<10
For the AVADD instruction, how is 7,1,1,1 determined? How is 25,21,15,10 determined? What do they mean? Why are the other commands different?
Can someone explain to me briefly? Thank you.
Heisenberg
unread,
Aug 28, 2020, 4:47:30 AM
8/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
I forgot to say that this code is in src/cmd/internal/obj/arm64/asm7.go
Reply all
Reply to author
Forward
0 new messages