leezu commented on issue #14664: tools/staticbuild/build.sh uses AVX2 
instruction set
URL: 
https://github.com/apache/incubator-mxnet/issues/14664#issuecomment-578345543
 
 
   I can reproduce this issue on AWS `c1` instances introduced 2010. Can't 
reproduce on `m3` instance introduced 2012. Note that `m3` doesn't support 
AVX2, so this issue is unrelated to AVX2.
   
   `m3` supports the following additional instruction sets compared to `c1`:
   ```
   > avx
   > f16c
   > x2apic
   > xsave
   > xsaveopt
   > xtopology
   ```
   
   Given the nature of this problem we can conclude the problem is with `avx` 
instruction set.
   
   Further the use of `__m128d` type in 
https://github.com/apache/incubator-mxnet/blob/1434b98e26ace5300f17465fbb2942272a3dfd77/3rdparty/mshadow/mshadow/packet/sse-inl.h
   get's converted by GCC to AVX instruction `VBROADCASTSS`. This may be a GCC 
bug, but is likely the root cause of this issue.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to