Terraspace / UASM

UASM - Macro Assembler
http://www.terraspace.co.uk/uasm.html
Other
220 stars 49 forks source link

AVX-512 Broadcast troubles #40

Closed gwoltman closed 7 years ago

gwoltman commented 7 years ago
vbroadcastsd zmm16, QWORD PTR ZMM_FMA_RND_CONST3

will not assemble.

Believe it or not, I do have working AVX-512 code so we are getting close to working out all the kinks that affect me.

Regarding the AMD trouble I was having, I eyeballed the code and found an AVX2 instruction in my FMA code path (Piledriver crash) and an SSE4 instruction in my SSE2 code path (K10 crash). Consequently, I believe the assembly that is not gcc compatible is not high priority. GDB users will want full compatibility for correct disassembly and ease of placing breakpoints.

john-terraspace commented 7 years ago

We’re addressing that gcc compatibility anyway, knowing it’s there bugs us too :)

I’ll the below one onto the list. I also found a few 16bit instructions which won’t assemble so they’re on the radar too, not that many people care about 16bit unless you’re writing a bootloader ;)

From: gwoltman [mailto:notifications@github.com] Sent: 15 November 2016 05:57 PM To: Terraspace/HJWasm HJWasm@noreply.github.com Subject: [Terraspace/HJWasm] AVX-512 Broadcast troubles (#40)

vbroadcastsd zmm16, QWORD PTR ZMM_FMA_RND_CONST3

will not assemble.

Believe it or not, I do have working AVX-512 code so we are getting close to working out all the kinks that affect me.

Regarding the AMD trouble I was having, I eyeballed the code and found an AVX2 instruction in my FMA code path (Piledriver crash) and an SSE4 instruction in my SSE2 code path (K10 crash). Consequently, I believe the assembly that is not gcc compatible is not high priority. GDB users will want full compatibility for correct disassembly and ease of placing breakpoints.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Terraspace/HJWasm/issues/40 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQGQVLtbYN60xs7hNKJJ498n8qal7WMgks5q-fKAgaJpZM4Ky1NY .

john-terraspace commented 7 years ago

Glad to hear we’re finally getting “running” avx512 code! Makes all the pain worth it !

From: gwoltman [mailto:notifications@github.com] Sent: 15 November 2016 05:57 PM To: Terraspace/HJWasm HJWasm@noreply.github.com Subject: [Terraspace/HJWasm] AVX-512 Broadcast troubles (#40)

vbroadcastsd zmm16, QWORD PTR ZMM_FMA_RND_CONST3

will not assemble.

Believe it or not, I do have working AVX-512 code so we are getting close to working out all the kinks that affect me.

Regarding the AMD trouble I was having, I eyeballed the code and found an AVX2 instruction in my FMA code path (Piledriver crash) and an SSE4 instruction in my SSE2 code path (K10 crash). Consequently, I believe the assembly that is not gcc compatible is not high priority. GDB users will want full compatibility for correct disassembly and ease of placing breakpoints.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Terraspace/HJWasm/issues/40 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQGQVLtbYN60xs7hNKJJ498n8qal7WMgks5q-fKAgaJpZM4Ky1NY .

john-terraspace commented 7 years ago

Hi, new packages up on the site dated 15th Nov. Should solve all of these issues and a few others we found :)

From: gwoltman [mailto:notifications@github.com] Sent: 15 November 2016 05:57 PM To: Terraspace/HJWasm HJWasm@noreply.github.com Subject: [Terraspace/HJWasm] AVX-512 Broadcast troubles (#40)

vbroadcastsd zmm16, QWORD PTR ZMM_FMA_RND_CONST3

will not assemble.

Believe it or not, I do have working AVX-512 code so we are getting close to working out all the kinks that affect me.

Regarding the AMD trouble I was having, I eyeballed the code and found an AVX2 instruction in my FMA code path (Piledriver crash) and an SSE4 instruction in my SSE2 code path (K10 crash). Consequently, I believe the assembly that is not gcc compatible is not high priority. GDB users will want full compatibility for correct disassembly and ease of placing breakpoints.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Terraspace/HJWasm/issues/40 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQGQVLtbYN60xs7hNKJJ498n8qal7WMgks5q-fKAgaJpZM4Ky1NY .

john-terraspace commented 7 years ago

Hi,

New version up this morning dated 16th Nov. Fixed another issue with vpslldq.

From: gwoltman [mailto:notifications@github.com] Sent: 15 November 2016 05:57 PM To: Terraspace/HJWasm HJWasm@noreply.github.com Subject: [Terraspace/HJWasm] AVX-512 Broadcast troubles (#40)

vbroadcastsd zmm16, QWORD PTR ZMM_FMA_RND_CONST3

will not assemble.

Believe it or not, I do have working AVX-512 code so we are getting close to working out all the kinks that affect me.

Regarding the AMD trouble I was having, I eyeballed the code and found an AVX2 instruction in my FMA code path (Piledriver crash) and an SSE4 instruction in my SSE2 code path (K10 crash). Consequently, I believe the assembly that is not gcc compatible is not high priority. GDB users will want full compatibility for correct disassembly and ease of placing breakpoints.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Terraspace/HJWasm/issues/40 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQGQVLtbYN60xs7hNKJJ498n8qal7WMgks5q-fKAgaJpZM4Ky1NY .

gwoltman commented 7 years ago

Fixed. Thanks!