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

jit-diff --pmi --altjit doesn't generate SIMD code #142

Open
AndyAyersMS opened this issue Jun 20, 2018 · 0 comments
Open

jit-diff --pmi --altjit doesn't generate SIMD code #142

AndyAyersMS opened this issue Jun 20, 2018 · 0 comments

Comments

@AndyAyersMS
Copy link
Member

Looking at pmi of System.Private.Corelib with an altjit, I see disassembly like:

; Assembly listing for method Simd:Abs(struct):struct
; Emitting BLENDED_CODE for X64 CPU with AVX
; optimized code
; rsp based frame
; partially interruptible
; Final local variable assignments
;
;* V00 arg0         [V00    ] (  0,  0   )  struct ( 8) zero-ref   
;# V01 OutArgs      [V01    ] (  1,  1   )  lclBlk ( 0) [rsp+0x00]  
;  V02 tmp1         [V02,T00] (  3,  0   )     ref  ->  rbx         class-hnd exact
;* V03 tmp2         [V03    ] (  0,  0   )    long  ->  zero-ref    V00._00(offs=0x00) P-INDEP
;
; Lcl frame size = 0
G_M1197_IG01:
       push     rbx
G_M1197_IG02:
       mov      rdi, 0xD1FFAB1E
       call     CORINFO_HELP_NEWSFAST
       mov      rbx, rax
       mov      rdi, rbx
       call     PlatformNotSupportedException:.ctor():this
       mov      rdi, rbx
       call     CORINFO_HELP_THROW
       int3     
; Total bytes of code 36, prolog size 1 for method Simd:Abs(struct):struct

We may need some extra setup to see codegen for SIMD methods here.

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

No branches or pull requests

1 participant