new mat proc std

This commit is contained in:
Youmu Liu
2026-02-28 18:09:48 +08:00
parent 6e07e67835
commit e198f22712
94 changed files with 1 additions and 90322 deletions
+1
View File
@@ -11,3 +11,4 @@
*/x64
*/.vs
/StgSharp.Native/lib
obj
@@ -1 +0,0 @@
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\TEAM TOOLS\STATIC ANALYSIS TOOLS\\RULE SETS\NATIVERECOMMENDEDRULES.RULESET
@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>D:\platform-dev\build\win-x64\StgSharp.Native.dll</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>
Binary file not shown.
@@ -1,439 +0,0 @@
m.basic.x86.c
dllmain.c
m.bufop.x86.c
m.solve.x86.c
m.fma_tile.x86.c
s.factorial.x86.c
m.fma.x86.c
s.hash.x86.c
load_intrinsic.x86.c
load_glfw.c
simdid.x86.c
simdid_compare.x86.c
sn_native.c
str_string.c
t.affinity.c
vector.c
D:\platform-dev\StgSharp.Native\sn-src\simdid.x86.c(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
D:\platform-dev\StgSharp.Native\sn-src\simdid_compare.x86.c(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/dllmain.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/m.fma.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/m.solve.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/s.factorial.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/load_glfw.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/t.affinity.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/s.hash.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/load_intrinsic.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/simdid.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/str_string.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/vector.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/m.fma_tile.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/simdid_compare.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/m.basic.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\sn-src\m.fma.x86.c(6,1): error C1083: 无法打开包括文件: “sn_intrincontext.x86.h”: No such file or directory
D:\platform-dev\StgSharp.Native\sn-src\load_intrinsic.x86.c(7,1): error C1083: 无法打开包括文件: “sn_intrincontext.x86.h”: No such file or directory
D:\platform-dev\StgSharp.Native\sn-src\simdid.x86.c(9,1): error C1083: 无法打开包括文件: “sn_intrincontext.x86.h”: No such file or directory
vector_dot.c
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(144,45): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(144,47): error C2146: 语法错误: 缺少“)”(在标识符“sub”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(144,40): error C2081: “sse”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(144,47): error C2061: 语法错误: 标识符“sub”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(144,47): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(144,50): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(145,45): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(145,47): error C2146: 语法错误: 缺少“)”(在标识符“sub”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(145,40): error C2081: “avx”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(145,47): error C2061: 语法错误: 标识符“sub”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(145,47): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(145,50): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(146,40): error C2059: 语法错误:“常数”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(146,45): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(146,47): error C2146: 语法错误: 缺少“)”(在标识符“sub”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(146,47): error C2061: 语法错误: 标识符“sub”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(146,47): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(146,50): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(148,46): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(148,48): error C2146: 语法错误: 缺少“)”(在标识符“sub”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(148,41): error C2081: “sse”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(148,48): error C2061: 语法错误: 标识符“sub”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(148,48): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(148,51): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(149,46): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(149,48): error C2146: 语法错误: 缺少“)”(在标识符“sub”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(149,41): error C2081: “avx”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(149,48): error C2061: 语法错误: 标识符“sub”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(149,48): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(149,51): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(150,41): error C2059: 语法错误:“常数”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(150,46): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(150,48): error C2146: 语法错误: 缺少“)”(在标识符“sub”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(150,48): error C2061: 语法错误: 标识符“sub”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(150,48): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(150,51): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c(10,52): error C2059: 语法错误:“,”
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(152,40): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(152,42): error C2146: 语法错误: 缺少“)”(在标识符“transpose”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c(10,54): error C2146: 语法错误: 缺少“)”(在标识符“try_plu”的前面)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(152,35): error C2081: “sse”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c(10,47): error C2081: “sse”: 形参表中的名称非法
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c(10,54): error C2061: 语法错误: 标识符“try_plu”
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(152,42): error C2061: 语法错误: 标识符“transpose”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c(10,54): error C2059: 语法错误:“;”
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(152,42): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(152,51): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c(10,61): error C2059: 语法错误:“)”
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(153,40): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c(11,1): error C2449: 在文件范围内找到“{”(是否缺少函数头?)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(153,42): error C2146: 语法错误: 缺少“)”(在标识符“transpose”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c(91,1): error C2059: 语法错误:“}”
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(153,35): error C2081: “avx”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\str_string.c(20,54): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
D:\platform-dev\StgSharp.Native\sn-src\str_string.c(35,54): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(153,42): error C2061: 语法错误: 标识符“transpose”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(153,42): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(153,51): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(154,35): error C2059: 语法错误:“常数”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(154,40): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(154,42): error C2146: 语法错误: 缺少“)”(在标识符“transpose”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(154,42): error C2061: 语法错误: 标识符“transpose”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(154,42): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(154,51): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(156,47): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(156,49): error C2146: 语法错误: 缺少“)”(在标识符“scalar_mul”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(156,42): error C2081: “sse”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(156,49): error C2061: 语法错误: 标识符“scalar_mul”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(156,49): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(156,59): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(157,47): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(157,49): error C2146: 语法错误: 缺少“)”(在标识符“scalar_mul”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(157,42): error C2081: “avx”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(157,49): error C2061: 语法错误: 标识符“scalar_mul”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(157,49): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(157,59): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\s.hash.x86.c(34,43): warning C4244: “函数”: 从“uint64_t”转换到“unsigned char”,可能丢失数据
D:\platform-dev\StgSharp.Native\sn-src\s.hash.x86.c(35,50): warning C4244: “函数”: 从“uint64_t”转换到“unsigned char”,可能丢失数据
D:\platform-dev\StgSharp.Native\sn-src\s.hash.x86.c(11,15): warning C4090: “初始化”: 不同的“const”限定符
D:\platform-dev\StgSharp.Native\sn-src\s.hash.x86.c(11,34): warning C4090: “初始化”: 不同的“const”限定符
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(158,42): error C2059: 语法错误:“常数”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(158,47): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(158,49): error C2146: 语法错误: 缺少“)”(在标识符“scalar_mul”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(158,49): error C2061: 语法错误: 标识符“scalar_mul”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(158,49): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(158,59): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(160,48): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(160,50): error C2146: 语法错误: 缺少“)”(在标识符“scalar_mul”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(160,43): error C2081: “sse”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(160,50): error C2061: 语法错误: 标识符“scalar_mul”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(160,50): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(160,60): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(161,48): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(161,50): error C2146: 语法错误: 缺少“)”(在标识符“scalar_mul”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(161,43): error C2081: “avx”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(161,50): error C2061: 语法错误: 标识符“scalar_mul”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(161,50): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(161,60): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(162,43): error C2059: 语法错误:“常数”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(162,48): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(162,50): error C2146: 语法错误: 缺少“)”(在标识符“scalar_mul”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(162,50): error C2061: 语法错误: 标识符“scalar_mul”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(162,50): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(162,60): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(164,41): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(164,43): error C2146: 语法错误: 缺少“)”(在标识符“fill”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(164,36): error C2081: “sse”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(164,43): error C2061: 语法错误: 标识符“fill”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(164,43): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(164,47): error C2059: 语法错误:“)”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(165,41): error C2059: 语法错误:“,”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(165,43): error C2146: 语法错误: 缺少“)”(在标识符“fill”的前面)
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(165,36): error C2081: “avx”: 形参表中的名称非法
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(165,43): error C2061: 语法错误: 标识符“fill”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(165,43): error C2059: 语法错误:“;”
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-head\sn_intrinsic.context.x86.h(165,43): error C1003: 错误计数超过 100;正在停止编译
(编译源文件“sn-src/m.bufop.x86.c”)
D:\platform-dev\StgSharp.Native\sn-src\m.fma_tile.x86.c(6,1): error C1083: 无法打开包括文件: “sn_intrincontext.x86.h”: No such file or directory
D:\platform-dev\StgSharp.Native\sn-src\simdid_compare.x86.c(7,1): error C1083: 无法打开包括文件: “sn_intrincontext.x86.h”: No such file or directory
D:\platform-dev\StgSharp.Native\sn-src\vector.c(6,41): warning C4047: “函数”:“const float *”与“__m128 (*)[1]”的间接级别不同
D:\platform-dev\StgSharp.Native\sn-src\vector.c(6,41): warning C4024: “_mm_load_ps”: 形参和实参 1 的类型不同
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/sn_native.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
D:\platform-dev\StgSharp.Native\sn-src\m.basic.x86.c(6,1): error C1083: 无法打开包括文件: “sn_intrincontext.x86.h”: No such file or directory
D:\platform-dev\StgSharp.Native\sn-src\sn_native.c(17,30): warning C4244: “函数”: 从“uint64_t”转换到“GLuint”,可能丢失数据
D:\platform-dev\StgSharp.Native\sn-src\sn_native.c(19,43): warning C4244: “函数”: 从“uint64_t”转换到“GLuint”,可能丢失数据
D:\platform-dev\StgSharp.Native\sn-src\sn_native.c(33,57): warning C4028: 形参 1 与声明不一致
D:\platform-dev\StgSharp.Native\sn-src\sn_native.c(61,47): warning C4028: 形参 1 与声明不一致
D:\platform-dev\StgSharp.Native\lib\glfw\glfw3.h(273,10): warning C4005: “GLFWAPI”: 宏重定义
(编译源文件“sn-src/vector_dot.c”)
D:\platform-dev\StgSharp.Native\sn-head\StgSharpNative.h(16,9):
参见“GLFWAPI”的前一个定义
@@ -1,17 +0,0 @@
D:\platform-dev\StgSharp.Native\sn-src\m.basic.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\m.basic.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\dllmain.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\dllmain.obj
D:\platform-dev\StgSharp.Native\sn-src\m.bufop.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\m.bufop.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\m.solve.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\m.solve.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\m.fma_tile.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\m.fma_tile.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\s.factorial.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\s.factorial.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\m.fma.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\m.fma.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\s.hash.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\s.hash.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\load_intrinsic.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\load_intrinsic.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\load_glfw.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\load_glfw.obj
D:\platform-dev\StgSharp.Native\sn-src\simdid.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\simdid.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\simdid_compare.x86.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\simdid_compare.x86.obj
D:\platform-dev\StgSharp.Native\sn-src\sn_native.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\sn_native.obj
D:\platform-dev\StgSharp.Native\sn-src\str_string.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\str_string.obj
D:\platform-dev\StgSharp.Native\sn-src\t.affinity.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\t.affinity.obj
D:\platform-dev\StgSharp.Native\sn-src\vector.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\vector.obj
D:\platform-dev\StgSharp.Native\sn-src\vector_dot.c;D:\platform-dev\obj\StgSharp.Native\Debug\x64\vector_dot.obj
@@ -1,2 +0,0 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.44.35207:TargetPlatformVersion=10.0.26100.0:
Debug|x64|D:\platform-dev\|
@@ -1,4 +0,0 @@
^D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\DLLMAIN.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\LOAD_GLFW.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\LOAD_INTRINSIC.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\M.BASIC.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\M.BUFOP.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\M.FMA.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\M.FMA_TILE.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\M.SOLVE.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\S.FACTORIAL.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\S.HASH.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\SIMDID.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\SIMDID_COMPARE.X86.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\SN_NATIVE.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\STR_STRING.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\T.AFFINITY.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\VECTOR.OBJ|D:\PLATFORM-DEV\OBJ\STGSHARP.NATIVE\DEBUG\X64\VECTOR_DOT.OBJ|D:\PLATFORM-DEV\STGSHARP.NATIVE\LIB\GLFW\GLFW3.LIB|D:\PLATFORM-DEV\STGSHARP.NATIVE\LIB\GLFW\GLFW3_MT.LIB
D:\platform-dev\build\win-x64\StgSharp.Native.lib
D:\platform-dev\build\win-x64\StgSharp.Native.EXP
D:\platform-dev\obj\StgSharp.Native\Debug\x64\StgSharp.Native.ilk
@@ -1,2 +0,0 @@
D:\platform-dev\build\win-x64\StgSharp.Native.dll.lastcodeanalysissucceeded
D:\platform-dev\obj\StgSharp.Native\Debug\x64\NativeCodeAnalysis.read.1.tlog
-364
View File
@@ -1,364 +0,0 @@
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.44.35220.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
PUBLIC SN_ZERO_KERNEL
_DATA SEGMENT
COMM infolog:BYTE:0200H
_DATA ENDS
_BSS SEGMENT
SN_ZERO_KERNEL DB 080H DUP (?)
_BSS ENDS
msvcjmc SEGMENT
__5C8CA4D3_mmintrin@h DB 01H
__8C83BECC_concurrencysal@h DB 01H
__608E3340_sal@h DB 01H
__FB67E29A_vadefs@h DB 01H
__1D1B619C_vcruntime@h DB 01H
__735960E1_corecrt@h DB 01H
__211DB995_corecrt_malloc@h DB 01H
__7CD62D9E_malloc@h DB 01H
__9DCE0DC8_xmmintrin@h DB 01H
__4C2AD0C7_winpackagefamily@h DB 01H
__9DED9ED1_winapifamily@h DB 01H
__12FEDF4E_sdkddkver@h DB 01H
__9BAEE128_excpt@h DB 01H
__B7B53233_stdarg@h DB 01H
__6B04FCB3_specstrings_undef@h DB 01H
__F4027AF7_specstrings_strict@h DB 01H
__B90340D4_sdv_driverspecs@h DB 01H
__BFFF5AD3_driverspecs@h DB 01H
__32847078_specstrings@h DB 01H
__108B2620_corecrt_wctype@h DB 01H
__6CD6613D_ctype@h DB 01H
__30902A1F_kernelspecs@h DB 01H
__376FD5CA_basetsd@h DB 01H
__13DE2371_errno@h DB 01H
__8C6AE390_vcruntime_string@h DB 01H
__8ACB2152_corecrt_memcpy_s@h DB 01H
__EA6C9D17_corecrt_memory@h DB 01H
__0DF2AF52_corecrt_wstring@h DB 01H
__6E889ECC_string@h DB 01H
__9BEDF4DE_guiddef@h DB 01H
__51BFD2FE_pshpack4@h DB 01H
__31652CEA_poppack@h DB 01H
__5532AE4C_pshpack2@h DB 01H
__58A52B9A_pshpack8@h DB 01H
__57741015_pshpack1@h DB 01H
__CDE68C90_apiset@h DB 01H
__0BF06E8D_ktmtypes@h DB 01H
__40C200C0_winnt@h DB 01H
__9336F789_minwindef@h DB 01H
__55136115_windef@h DB 01H
__32205BF0_apisetcconv@h DB 01H
__B48FDEA0_minwinbase@h DB 01H
__3551B028_apiquery2@h DB 01H
__65BE04AA_processenv@h DB 01H
__4767CA46_fileapi@h DB 01H
__282E6C4B_fileapifromapp@h DB 01H
__393AF12C_debugapi@h DB 01H
__EBC502B8_utilapiset@h DB 01H
__1EAD8C69_handleapi@h DB 01H
__D8EF9B29_errhandlingapi@h DB 01H
__97FC1204_fibersapi@h DB 01H
__27448220_namedpipeapi@h DB 01H
__6EA33B2A_profileapi@h DB 01H
__EAC6F673_heapapi@h DB 01H
__D64EEA5A_ioapiset@h DB 01H
__144BD4B6_synchapi@h DB 01H
__03B1C640_interlockedapi@h DB 01H
__DC64CB38_processthreadsapi@h DB 01H
__D719B518_sysinfoapi@h DB 01H
__410385B1_memoryapi@h DB 01H
__C1AD45EF_enclaveapi@h DB 01H
__F4C3AA32_threadpoollegacyapiset@h DB 01H
__AC5A7A9F_threadpoolapiset@h DB 01H
__F5254B21_jobapi@h DB 01H
__BCEA6EE8_jobapi2@h DB 01H
__D18ACE72_wow64apiset@h DB 01H
__669B0D4A_libloaderapi@h DB 01H
__645F7034_securitybaseapi@h DB 01H
__67E58557_namespaceapi@h DB 01H
__599D9D3A_systemtopologyapi@h DB 01H
__2337E373_processtopologyapi@h DB 01H
__02BFF239_securityappcontainer@h DB 01H
__9C196272_realtimeapiset@h DB 01H
__5AB313A4_winerror@h DB 01H
__B7E7187B_timezoneapi@h DB 01H
__6DE9EB6F_winbase@h DB 01H
__56B2AFF2_wingdi@h DB 01H
__BA1161A9_tvout@h DB 01H
__0501A018_winuser@h DB 01H
__EF12FA99_datetimeapi@h DB 01H
__8FA7C3CA_winnls@h DB 01H
__390F0C47_stringapiset@h DB 01H
__28605B0A_wincontypes@h DB 01H
__BFBDE86D_consoleapi@h DB 01H
__C3CAFBF0_consoleapi2@h DB 01H
__C20891C7_consoleapi3@h DB 01H
__717C98B6_wincon@h DB 01H
__2884C177_verrsrc@h DB 01H
__A3FD3A34_winver@h DB 01H
__6F8AD9F1_reason@h DB 01H
__4C90FD6F_winreg@h DB 01H
__68AFEBAD_wnnc@h DB 01H
__5A7AB086_winnetwk@h DB 01H
__2FE8A10C_stralign@h DB 01H
__34558472_winsvc@h DB 01H
__058845F1_mcx@h DB 01H
__7F16006B_ime_cmodes@h DB 01H
__0A3AF599_imm@h DB 01H
__9349FE86_windows@h DB 01H
__639A050C_sn_internal@h DB 01H
__836A8CFC_stdint@h DB 01H
__714FE6D7_sn_target@h DB 01H
__60B45B40_corecrt_stdio_config@h DB 01H
__CFA3741E_corecrt_wstdio@h DB 01H
__B3FE3303_stdio@h DB 01H
__955456CD_stddef@h DB 01H
__99AED4FB_corecrt_search@h DB 01H
__8B813BF6_corecrt_wstdlib@h DB 01H
__3D1CA2C3_limits@h DB 01H
__E8FB0A68_stdlib@h DB 01H
__F562FA57_stb_image@h DB 01H
__C95DC661_khrplatform@h DB 01H
__6C577136_gl@h DB 01H
__EE638A2C_wgl@h DB 01H
__8EF9E35C_glfw3@h DB 01H
__F8AC8404_emmintrin@h DB 01H
__270DEC8D_pmmintrin@h DB 01H
__97D49F0F_tmmintrin@h DB 01H
__BEEF8A8C_smmintrin@h DB 01H
__DB8D0340_nmmintrin@h DB 01H
__0E36F90E_wmmintrin@h DB 01H
__C5A2B409_zmmintrin@h DB 01H
__F2B616C3_immintrin@h DB 01H
__9FB25DBE_assert@h DB 01H
__4E664295_glfw_function@h DB 01H
__64C0EF11_StgSharpNative@h DB 01H
__F49407C4_sn_intrinsic@matkernel@h DB 01H
__AE0F26BF_dllmain@c DB 01H
msvcjmc ENDS
PUBLIC DllMain
PUBLIC __JustMyCode_Default
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
; COMDAT pdata
pdata SEGMENT
$pdata$init_zero_kernel DD imagerel init_zero_kernel
DD imagerel init_zero_kernel+121
DD imagerel $unwind$init_zero_kernel
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$DllMain DD imagerel $LN9
DD imagerel $LN9+140
DD imagerel $unwind$DllMain
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$DllMain DD 025051c01H
DD 0117231cH
DD 07010001fH
DD 0500fH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$init_zero_kernel DD 025050f01H
DD 010a230fH
DD 070030025H
DD 05002H
xdata ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
00000 c2 00 00 ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\dllmain.c
; COMDAT DllMain
_TEXT SEGMENT
tv64 = 192
hModule$ = 240
ul_reason_for_call$ = 248
lpReserved$ = 256
DllMain PROC ; COMDAT
; 26 : {
$LN9:
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
00005 89 54 24 10 mov DWORD PTR [rsp+16], edx
00009 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000e 55 push rbp
0000f 57 push rdi
00010 48 81 ec f8 00
00 00 sub rsp, 248 ; 000000f8H
00017 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001c 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__AE0F26BF_dllmain@c
00023 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00028 90 npad 1
; 27 : switch (ul_reason_for_call) {
00029 8b 85 f8 00 00
00 mov eax, DWORD PTR ul_reason_for_call$[rbp]
0002f 89 85 c0 00 00
00 mov DWORD PTR tv64[rbp], eax
00035 83 bd c0 00 00
00 00 cmp DWORD PTR tv64[rbp], 0
0003c 74 38 je SHORT $LN7@DllMain
0003e 83 bd c0 00 00
00 01 cmp DWORD PTR tv64[rbp], 1
00045 74 14 je SHORT $LN4@DllMain
00047 83 bd c0 00 00
00 02 cmp DWORD PTR tv64[rbp], 2
0004e 74 18 je SHORT $LN5@DllMain
00050 83 bd c0 00 00
00 03 cmp DWORD PTR tv64[rbp], 3
00057 74 16 je SHORT $LN6@DllMain
00059 eb 22 jmp SHORT $LN2@DllMain
$LN4@DllMain:
; 28 : case DLL_PROCESS_ATTACH:
; 29 : init_zero_kernel();
0005b e8 00 00 00 00 call init_zero_kernel
00060 90 npad 1
; 30 : return 1;
00061 b8 01 00 00 00 mov eax, 1
00066 eb 1a jmp SHORT $LN1@DllMain
$LN5@DllMain:
; 31 : case DLL_THREAD_ATTACH:
; 32 : return 1;
00068 b8 01 00 00 00 mov eax, 1
0006d eb 13 jmp SHORT $LN1@DllMain
$LN6@DllMain:
; 33 : case DLL_THREAD_DETACH:
; 34 : return 1;
0006f b8 01 00 00 00 mov eax, 1
00074 eb 0c jmp SHORT $LN1@DllMain
$LN7@DllMain:
; 35 : case DLL_PROCESS_DETACH:
; 36 : return 1;
00076 b8 01 00 00 00 mov eax, 1
0007b eb 05 jmp SHORT $LN1@DllMain
$LN2@DllMain:
; 37 : break;
; 38 : }
; 39 : return TRUE;
0007d b8 01 00 00 00 mov eax, 1
$LN1@DllMain:
; 40 : }
00082 48 8d a5 d8 00
00 00 lea rsp, QWORD PTR [rbp+216]
00089 5f pop rdi
0008a 5d pop rbp
0008b c3 ret 0
DllMain ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\dllmain.c
; COMDAT init_zero_kernel
_TEXT SEGMENT
c$1 = 4
r$2 = 36
init_zero_kernel PROC ; COMDAT
; 17 : {
00000 40 55 push rbp
00002 57 push rdi
00003 48 81 ec 28 01
00 00 sub rsp, 296 ; 00000128H
0000a 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0000f 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__AE0F26BF_dllmain@c
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
0001b 90 npad 1
; 18 : for (int c = 0; c < 4; ++c) {
0001c c7 45 04 00 00
00 00 mov DWORD PTR c$1[rbp], 0
00023 eb 08 jmp SHORT $LN4@init_zero_
$LN2@init_zero_:
00025 8b 45 04 mov eax, DWORD PTR c$1[rbp]
00028 ff c0 inc eax
0002a 89 45 04 mov DWORD PTR c$1[rbp], eax
$LN4@init_zero_:
0002d 83 7d 04 04 cmp DWORD PTR c$1[rbp], 4
00031 7d 3c jge SHORT $LN3@init_zero_
; 19 : for (int r = 0; r < 4; ++r) {
00033 c7 45 24 00 00
00 00 mov DWORD PTR r$2[rbp], 0
0003a eb 08 jmp SHORT $LN7@init_zero_
$LN5@init_zero_:
0003c 8b 45 24 mov eax, DWORD PTR r$2[rbp]
0003f ff c0 inc eax
00041 89 45 24 mov DWORD PTR r$2[rbp], eax
$LN7@init_zero_:
00044 83 7d 24 04 cmp DWORD PTR r$2[rbp], 4
00048 7d 23 jge SHORT $LN6@init_zero_
; 20 : SN_ZERO_KERNEL.m[r][c] = 0;
0004a 48 63 45 24 movsxd rax, DWORD PTR r$2[rbp]
0004e 48 6b c0 20 imul rax, rax, 32 ; 00000020H
00052 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:SN_ZERO_KERNEL
00059 48 03 c8 add rcx, rax
0005c 48 8b c1 mov rax, rcx
0005f 48 63 4d 04 movsxd rcx, DWORD PTR c$1[rbp]
00063 48 c7 04 c8 00
00 00 00 mov QWORD PTR [rax+rcx*8], 0
; 21 : }
0006b eb cf jmp SHORT $LN5@init_zero_
$LN6@init_zero_:
; 22 : }
0006d eb b6 jmp SHORT $LN2@init_zero_
$LN3@init_zero_:
; 23 : }
0006f 48 8d a5 08 01
00 00 lea rsp, QWORD PTR [rbp+264]
00076 5f pop rdi
00077 5d pop rbp
00078 c3 ret 0
init_zero_kernel ENDP
_TEXT ENDS
END
@@ -1,115 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/dllmain.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "c7bdcaa511f5eec55c641d61b9b747d99a329c02b14cd8529d19bce4ac2a6f74"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
@@ -1,107 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/load_glfw.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "17d82e2b6a8411d940ffc1769b7d90a683af9d1c0fe2d58cda2d18400337fdf5"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
@@ -1,131 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/load_intrinsic.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "c4b2c5dc98e95d9d7cfabcb85772979ac74c625048857b38d6344935c144bf09"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "8a0f03b014c6d2740a21a13df48b1951932be000152771363cd554748facde0d"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "4da90105811ba902ad984b406834cf36cf43862047957dad5471c0b24d221ace"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrincontext.x86.h"
},
"hashes": {
"sha-256": "bbc00ee7320b30ca1234dc7908e4695ff6d5bb2ba3224e4ffaed345010ba8f48"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
File diff suppressed because it is too large Load Diff
@@ -1,131 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/m.basic.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "d2e2e837a655806e69e9907ce694d936c3ab6b1d7ff8fcbf18a9925b1cc060f4"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "8a0f03b014c6d2740a21a13df48b1951932be000152771363cd554748facde0d"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "4da90105811ba902ad984b406834cf36cf43862047957dad5471c0b24d221ace"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrincontext.x86.h"
},
"hashes": {
"sha-256": "bbc00ee7320b30ca1234dc7908e4695ff6d5bb2ba3224e4ffaed345010ba8f48"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
File diff suppressed because it is too large Load Diff
@@ -1,131 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/m.bufop.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "bd17622b768a820fa5d415bd891c8dc82b5fd0e9446a636d005fe6051d039678"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "8a0f03b014c6d2740a21a13df48b1951932be000152771363cd554748facde0d"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "4da90105811ba902ad984b406834cf36cf43862047957dad5471c0b24d221ace"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrincontext.x86.h"
},
"hashes": {
"sha-256": "bbc00ee7320b30ca1234dc7908e4695ff6d5bb2ba3224e4ffaed345010ba8f48"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
File diff suppressed because it is too large Load Diff
@@ -1,131 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/m.fma.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "d5d32866676ab9055c1a430b3749e18f5affc21d1dc394e2b5a4897f0d63d02e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "8a0f03b014c6d2740a21a13df48b1951932be000152771363cd554748facde0d"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "4da90105811ba902ad984b406834cf36cf43862047957dad5471c0b24d221ace"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrincontext.x86.h"
},
"hashes": {
"sha-256": "bbc00ee7320b30ca1234dc7908e4695ff6d5bb2ba3224e4ffaed345010ba8f48"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
File diff suppressed because it is too large Load Diff
@@ -1,131 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/m.fma_tile.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "847e77a8f1e5cfe756b7c5b91299cb08c2688d335ff57dc6599363fb75217480"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "8a0f03b014c6d2740a21a13df48b1951932be000152771363cd554748facde0d"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "4da90105811ba902ad984b406834cf36cf43862047957dad5471c0b24d221ace"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrincontext.x86.h"
},
"hashes": {
"sha-256": "bbc00ee7320b30ca1234dc7908e4695ff6d5bb2ba3224e4ffaed345010ba8f48"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
File diff suppressed because it is too large Load Diff
@@ -1,123 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/m.solve.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "9d1606a097ad294dd51d794305f8d235e1f24f022a4cc02f7589b02648ef8274"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "8a0f03b014c6d2740a21a13df48b1951932be000152771363cd554748facde0d"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "4da90105811ba902ad984b406834cf36cf43862047957dad5471c0b24d221ace"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.
@@ -1,391 +0,0 @@
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.44.35220.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
PUBLIC facIncrement
PUBLIC facBase
_DATA SEGMENT
COMM infolog:BYTE:0200H
_DATA ENDS
msvcjmc SEGMENT
__5C8CA4D3_mmintrin@h DB 01H
__8C83BECC_concurrencysal@h DB 01H
__608E3340_sal@h DB 01H
__FB67E29A_vadefs@h DB 01H
__1D1B619C_vcruntime@h DB 01H
__735960E1_corecrt@h DB 01H
__211DB995_corecrt_malloc@h DB 01H
__7CD62D9E_malloc@h DB 01H
__9DCE0DC8_xmmintrin@h DB 01H
__4C2AD0C7_winpackagefamily@h DB 01H
__9DED9ED1_winapifamily@h DB 01H
__12FEDF4E_sdkddkver@h DB 01H
__9BAEE128_excpt@h DB 01H
__B7B53233_stdarg@h DB 01H
__6B04FCB3_specstrings_undef@h DB 01H
__F4027AF7_specstrings_strict@h DB 01H
__B90340D4_sdv_driverspecs@h DB 01H
__BFFF5AD3_driverspecs@h DB 01H
__32847078_specstrings@h DB 01H
__108B2620_corecrt_wctype@h DB 01H
__6CD6613D_ctype@h DB 01H
__30902A1F_kernelspecs@h DB 01H
__376FD5CA_basetsd@h DB 01H
__13DE2371_errno@h DB 01H
__8C6AE390_vcruntime_string@h DB 01H
__8ACB2152_corecrt_memcpy_s@h DB 01H
__EA6C9D17_corecrt_memory@h DB 01H
__0DF2AF52_corecrt_wstring@h DB 01H
__6E889ECC_string@h DB 01H
__9BEDF4DE_guiddef@h DB 01H
__51BFD2FE_pshpack4@h DB 01H
__31652CEA_poppack@h DB 01H
__5532AE4C_pshpack2@h DB 01H
__58A52B9A_pshpack8@h DB 01H
__57741015_pshpack1@h DB 01H
__CDE68C90_apiset@h DB 01H
__0BF06E8D_ktmtypes@h DB 01H
__40C200C0_winnt@h DB 01H
__9336F789_minwindef@h DB 01H
__55136115_windef@h DB 01H
__32205BF0_apisetcconv@h DB 01H
__B48FDEA0_minwinbase@h DB 01H
__3551B028_apiquery2@h DB 01H
__65BE04AA_processenv@h DB 01H
__4767CA46_fileapi@h DB 01H
__282E6C4B_fileapifromapp@h DB 01H
__393AF12C_debugapi@h DB 01H
__EBC502B8_utilapiset@h DB 01H
__1EAD8C69_handleapi@h DB 01H
__D8EF9B29_errhandlingapi@h DB 01H
__97FC1204_fibersapi@h DB 01H
__27448220_namedpipeapi@h DB 01H
__6EA33B2A_profileapi@h DB 01H
__EAC6F673_heapapi@h DB 01H
__D64EEA5A_ioapiset@h DB 01H
__144BD4B6_synchapi@h DB 01H
__03B1C640_interlockedapi@h DB 01H
__DC64CB38_processthreadsapi@h DB 01H
__D719B518_sysinfoapi@h DB 01H
__410385B1_memoryapi@h DB 01H
__C1AD45EF_enclaveapi@h DB 01H
__F4C3AA32_threadpoollegacyapiset@h DB 01H
__AC5A7A9F_threadpoolapiset@h DB 01H
__F5254B21_jobapi@h DB 01H
__BCEA6EE8_jobapi2@h DB 01H
__D18ACE72_wow64apiset@h DB 01H
__669B0D4A_libloaderapi@h DB 01H
__645F7034_securitybaseapi@h DB 01H
__67E58557_namespaceapi@h DB 01H
__599D9D3A_systemtopologyapi@h DB 01H
__2337E373_processtopologyapi@h DB 01H
__02BFF239_securityappcontainer@h DB 01H
__9C196272_realtimeapiset@h DB 01H
__5AB313A4_winerror@h DB 01H
__B7E7187B_timezoneapi@h DB 01H
__6DE9EB6F_winbase@h DB 01H
__56B2AFF2_wingdi@h DB 01H
__BA1161A9_tvout@h DB 01H
__0501A018_winuser@h DB 01H
__EF12FA99_datetimeapi@h DB 01H
__8FA7C3CA_winnls@h DB 01H
__390F0C47_stringapiset@h DB 01H
__28605B0A_wincontypes@h DB 01H
__BFBDE86D_consoleapi@h DB 01H
__C3CAFBF0_consoleapi2@h DB 01H
__C20891C7_consoleapi3@h DB 01H
__717C98B6_wincon@h DB 01H
__2884C177_verrsrc@h DB 01H
__A3FD3A34_winver@h DB 01H
__6F8AD9F1_reason@h DB 01H
__4C90FD6F_winreg@h DB 01H
__68AFEBAD_wnnc@h DB 01H
__5A7AB086_winnetwk@h DB 01H
__2FE8A10C_stralign@h DB 01H
__34558472_winsvc@h DB 01H
__058845F1_mcx@h DB 01H
__7F16006B_ime_cmodes@h DB 01H
__0A3AF599_imm@h DB 01H
__9349FE86_windows@h DB 01H
__639A050C_sn_internal@h DB 01H
__836A8CFC_stdint@h DB 01H
__714FE6D7_sn_target@h DB 01H
__60B45B40_corecrt_stdio_config@h DB 01H
__CFA3741E_corecrt_wstdio@h DB 01H
__B3FE3303_stdio@h DB 01H
__955456CD_stddef@h DB 01H
__99AED4FB_corecrt_search@h DB 01H
__8B813BF6_corecrt_wstdlib@h DB 01H
__3D1CA2C3_limits@h DB 01H
__E8FB0A68_stdlib@h DB 01H
__F562FA57_stb_image@h DB 01H
__C95DC661_khrplatform@h DB 01H
__6C577136_gl@h DB 01H
__EE638A2C_wgl@h DB 01H
__8EF9E35C_glfw3@h DB 01H
__F8AC8404_emmintrin@h DB 01H
__270DEC8D_pmmintrin@h DB 01H
__97D49F0F_tmmintrin@h DB 01H
__BEEF8A8C_smmintrin@h DB 01H
__DB8D0340_nmmintrin@h DB 01H
__0E36F90E_wmmintrin@h DB 01H
__C5A2B409_zmmintrin@h DB 01H
__F2B616C3_immintrin@h DB 01H
__9FB25DBE_assert@h DB 01H
__4E664295_glfw_function@h DB 01H
__64C0EF11_StgSharpNative@h DB 01H
__F49407C4_sn_intrinsic@matkernel@h DB 01H
__47E843D2_intrin0@inl@h DB 01H
__130964FF_setjmp@h DB 01H
__4875F786_ammintrin@h DB 01H
__353FD888_intrin@h DB 01H
__5FE1E9E3_isa_availability@h DB 01H
__AA840D82_sn_intrinsic@h DB 01H
__25E8D284_s@factorial@x86@c DB 01H
msvcjmc ENDS
_DATA SEGMENT
facIncrement DB 04H
DB 04H
DB 04H
DB 04H
ORG $+12
facBase DB 01H
DB 02H
DB 03H
DB 04H
ORG $+12
_DATA ENDS
PUBLIC factorial_simd_sse
PUBLIC __JustMyCode_Default
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
; COMDAT pdata
pdata SEGMENT
$pdata$factorial_simd_sse DD imagerel $LN9
DD imagerel $LN9+377
DD imagerel $unwind$factorial_simd_sse
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$factorial_simd_sse DD 025052a01H
DD 010d2312H
DD 07006003dH
DD 05005H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
factorial_simd_sse$rtcName$0 DB 062H
DB 061H
DB 073H
DB 065H
DB 052H
DB 065H
DB 073H
DB 075H
DB 06cH
DB 074H
DB 00H
ORG $+5
factorial_simd_sse$rtcVarDesc DD 030H
DD 010H
DQ FLAT:factorial_simd_sse$rtcName$0
ORG $+48
factorial_simd_sse$rtcFrameData DD 01H
DD 00H
DQ FLAT:factorial_simd_sse$rtcVarDesc
CONST ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
00000 c2 00 00 ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\s.factorial.x86.c
; COMDAT factorial_simd_sse
_TEXT SEGMENT
baseResult$ = 16
facBaseLocal$ = 64
cycle$ = 100
rest$ = 132
i$4 = 168
result$ = 200
i$5 = 232
n$ = 480
factorial_simd_sse PROC ; COMDAT
; 12 : {
$LN9:
00000 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
00004 55 push rbp
00005 57 push rdi
00006 48 81 ec e8 01
00 00 sub rsp, 488 ; 000001e8H
0000d 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00012 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
00017 b9 42 00 00 00 mov ecx, 66 ; 00000042H
0001c b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
00021 f3 ab rep stosd
00023 8b 8c 24 08 02
00 00 mov ecx, DWORD PTR [rsp+520]
0002a 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__25E8D284_s@factorial@x86@c
00031 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00036 90 npad 1
; 13 : __m128i baseResult = facBase;
00037 66 0f 6f 05 00
00 00 00 movdqa xmm0, XMMWORD PTR facBase
0003f 66 0f 7f 45 10 movdqa XMMWORD PTR baseResult$[rbp], xmm0
; 14 : __m128i facBaseLocal = facBase;
00044 66 0f 6f 05 00
00 00 00 movdqa xmm0, XMMWORD PTR facBase
0004c 66 0f 7f 45 40 movdqa XMMWORD PTR facBaseLocal$[rbp], xmm0
; 15 : const int cycle = (n - 3) >> 2;
00051 8b 85 e0 01 00
00 mov eax, DWORD PTR n$[rbp]
00057 83 e8 03 sub eax, 3
0005a c1 f8 02 sar eax, 2
0005d 89 45 64 mov DWORD PTR cycle$[rbp], eax
; 16 : const uint32_t rest = (cycle << 2) + 1;
00060 8b 45 64 mov eax, DWORD PTR cycle$[rbp]
00063 8d 04 85 01 00
00 00 lea eax, DWORD PTR [rax*4+1]
0006a 89 85 84 00 00
00 mov DWORD PTR rest$[rbp], eax
; 17 : for (size_t i = 0; i < cycle; i++) {
00070 48 c7 85 a8 00
00 00 00 00 00
00 mov QWORD PTR i$4[rbp], 0
0007b eb 11 jmp SHORT $LN4@factorial_
$LN2@factorial_:
0007d 48 8b 85 a8 00
00 00 mov rax, QWORD PTR i$4[rbp]
00084 48 ff c0 inc rax
00087 48 89 85 a8 00
00 00 mov QWORD PTR i$4[rbp], rax
$LN4@factorial_:
0008e 48 63 45 64 movsxd rax, DWORD PTR cycle$[rbp]
00092 48 39 85 a8 00
00 00 cmp QWORD PTR i$4[rbp], rax
00099 73 24 jae SHORT $LN3@factorial_
; 18 : facBaseLocal = _mm_add_epi32(facBaseLocal, facIncrement);
0009b 66 0f 6f 45 40 movdqa xmm0, XMMWORD PTR facBaseLocal$[rbp]
000a0 66 0f fe 05 00
00 00 00 paddd xmm0, XMMWORD PTR facIncrement
000a8 66 0f 7f 45 40 movdqa XMMWORD PTR facBaseLocal$[rbp], xmm0
; 19 : baseResult = _mm_mullo_epi32(baseResult, facBaseLocal);
000ad 66 0f 6f 45 10 movdqa xmm0, XMMWORD PTR baseResult$[rbp]
000b2 66 0f 38 40 45
40 pmulld xmm0, XMMWORD PTR facBaseLocal$[rbp]
000b8 66 0f 7f 45 10 movdqa XMMWORD PTR baseResult$[rbp], xmm0
; 20 : }
000bd eb be jmp SHORT $LN2@factorial_
$LN3@factorial_:
; 21 : uint64_t result = (uint64_t)baseResult.m128i_i32[0] * (uint64_t)baseResult.m128i_i32[1] *
000bf b8 04 00 00 00 mov eax, 4
000c4 48 6b c0 00 imul rax, rax, 0
000c8 48 63 44 05 10 movsxd rax, DWORD PTR baseResult$[rbp+rax]
000cd b9 04 00 00 00 mov ecx, 4
000d2 48 6b c9 01 imul rcx, rcx, 1
000d6 48 63 4c 0d 10 movsxd rcx, DWORD PTR baseResult$[rbp+rcx]
000db 48 0f af c1 imul rax, rcx
000df b9 04 00 00 00 mov ecx, 4
000e4 48 6b c9 02 imul rcx, rcx, 2
000e8 48 63 4c 0d 10 movsxd rcx, DWORD PTR baseResult$[rbp+rcx]
000ed 48 0f af c1 imul rax, rcx
000f1 b9 04 00 00 00 mov ecx, 4
000f6 48 6b c9 03 imul rcx, rcx, 3
000fa 48 63 4c 0d 10 movsxd rcx, DWORD PTR baseResult$[rbp+rcx]
000ff 48 0f af c1 imul rax, rcx
00103 48 89 85 c8 00
00 00 mov QWORD PTR result$[rbp], rax
; 22 : (uint64_t)baseResult.m128i_i32[2] * (uint64_t)baseResult.m128i_i32[3];
; 23 : for (uint64_t i = rest; i < n; i++) {
0010a 8b 85 84 00 00
00 mov eax, DWORD PTR rest$[rbp]
00110 48 89 85 e8 00
00 00 mov QWORD PTR i$5[rbp], rax
00117 eb 11 jmp SHORT $LN7@factorial_
$LN5@factorial_:
00119 48 8b 85 e8 00
00 00 mov rax, QWORD PTR i$5[rbp]
00120 48 ff c0 inc rax
00123 48 89 85 e8 00
00 00 mov QWORD PTR i$5[rbp], rax
$LN7@factorial_:
0012a 48 63 85 e0 01
00 00 movsxd rax, DWORD PTR n$[rbp]
00131 48 39 85 e8 00
00 00 cmp QWORD PTR i$5[rbp], rax
00138 73 18 jae SHORT $LN6@factorial_
; 24 : result *= i;
0013a 48 8b 85 c8 00
00 00 mov rax, QWORD PTR result$[rbp]
00141 48 0f af 85 e8
00 00 00 imul rax, QWORD PTR i$5[rbp]
00149 48 89 85 c8 00
00 00 mov QWORD PTR result$[rbp], rax
; 25 : }
00150 eb c7 jmp SHORT $LN5@factorial_
$LN6@factorial_:
; 26 : return result;
00152 48 8b 85 c8 00
00 00 mov rax, QWORD PTR result$[rbp]
; 27 : }
00159 48 8b f8 mov rdi, rax
0015c 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
00160 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:factorial_simd_sse$rtcFrameData
00167 e8 00 00 00 00 call _RTC_CheckStackVars
0016c 48 8b c7 mov rax, rdi
0016f 48 8d a5 c8 01
00 00 lea rsp, QWORD PTR [rbp+456]
00176 5f pop rdi
00177 5d pop rbp
00178 c3 ret 0
factorial_simd_sse ENDP
_TEXT ENDS
END
@@ -1,123 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/s.factorial.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "4f98c39b091ae9de0aedda2e7b832d7bcc63c2cfa4bbcc4e68abde1b642edba8"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "94ca202415b5a633ad79580db19ae2b7def151b2e3f5d2dcaa341cfe934a5b0c"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.
@@ -1,534 +0,0 @@
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.44.35220.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM infolog:BYTE:0200H
_DATA ENDS
msvcjmc SEGMENT
__5C8CA4D3_mmintrin@h DB 01H
__8C83BECC_concurrencysal@h DB 01H
__608E3340_sal@h DB 01H
__FB67E29A_vadefs@h DB 01H
__1D1B619C_vcruntime@h DB 01H
__735960E1_corecrt@h DB 01H
__211DB995_corecrt_malloc@h DB 01H
__7CD62D9E_malloc@h DB 01H
__9DCE0DC8_xmmintrin@h DB 01H
__4C2AD0C7_winpackagefamily@h DB 01H
__9DED9ED1_winapifamily@h DB 01H
__12FEDF4E_sdkddkver@h DB 01H
__9BAEE128_excpt@h DB 01H
__B7B53233_stdarg@h DB 01H
__6B04FCB3_specstrings_undef@h DB 01H
__F4027AF7_specstrings_strict@h DB 01H
__B90340D4_sdv_driverspecs@h DB 01H
__BFFF5AD3_driverspecs@h DB 01H
__32847078_specstrings@h DB 01H
__108B2620_corecrt_wctype@h DB 01H
__6CD6613D_ctype@h DB 01H
__30902A1F_kernelspecs@h DB 01H
__376FD5CA_basetsd@h DB 01H
__13DE2371_errno@h DB 01H
__8C6AE390_vcruntime_string@h DB 01H
__8ACB2152_corecrt_memcpy_s@h DB 01H
__EA6C9D17_corecrt_memory@h DB 01H
__0DF2AF52_corecrt_wstring@h DB 01H
__6E889ECC_string@h DB 01H
__9BEDF4DE_guiddef@h DB 01H
__51BFD2FE_pshpack4@h DB 01H
__31652CEA_poppack@h DB 01H
__5532AE4C_pshpack2@h DB 01H
__58A52B9A_pshpack8@h DB 01H
__57741015_pshpack1@h DB 01H
__CDE68C90_apiset@h DB 01H
__0BF06E8D_ktmtypes@h DB 01H
__40C200C0_winnt@h DB 01H
__9336F789_minwindef@h DB 01H
__55136115_windef@h DB 01H
__32205BF0_apisetcconv@h DB 01H
__B48FDEA0_minwinbase@h DB 01H
__3551B028_apiquery2@h DB 01H
__65BE04AA_processenv@h DB 01H
__4767CA46_fileapi@h DB 01H
__282E6C4B_fileapifromapp@h DB 01H
__393AF12C_debugapi@h DB 01H
__EBC502B8_utilapiset@h DB 01H
__1EAD8C69_handleapi@h DB 01H
__D8EF9B29_errhandlingapi@h DB 01H
__97FC1204_fibersapi@h DB 01H
__27448220_namedpipeapi@h DB 01H
__6EA33B2A_profileapi@h DB 01H
__EAC6F673_heapapi@h DB 01H
__D64EEA5A_ioapiset@h DB 01H
__144BD4B6_synchapi@h DB 01H
__03B1C640_interlockedapi@h DB 01H
__DC64CB38_processthreadsapi@h DB 01H
__D719B518_sysinfoapi@h DB 01H
__410385B1_memoryapi@h DB 01H
__C1AD45EF_enclaveapi@h DB 01H
__F4C3AA32_threadpoollegacyapiset@h DB 01H
__AC5A7A9F_threadpoolapiset@h DB 01H
__F5254B21_jobapi@h DB 01H
__BCEA6EE8_jobapi2@h DB 01H
__D18ACE72_wow64apiset@h DB 01H
__669B0D4A_libloaderapi@h DB 01H
__645F7034_securitybaseapi@h DB 01H
__67E58557_namespaceapi@h DB 01H
__599D9D3A_systemtopologyapi@h DB 01H
__2337E373_processtopologyapi@h DB 01H
__02BFF239_securityappcontainer@h DB 01H
__9C196272_realtimeapiset@h DB 01H
__5AB313A4_winerror@h DB 01H
__B7E7187B_timezoneapi@h DB 01H
__6DE9EB6F_winbase@h DB 01H
__56B2AFF2_wingdi@h DB 01H
__BA1161A9_tvout@h DB 01H
__0501A018_winuser@h DB 01H
__EF12FA99_datetimeapi@h DB 01H
__8FA7C3CA_winnls@h DB 01H
__390F0C47_stringapiset@h DB 01H
__28605B0A_wincontypes@h DB 01H
__BFBDE86D_consoleapi@h DB 01H
__C3CAFBF0_consoleapi2@h DB 01H
__C20891C7_consoleapi3@h DB 01H
__717C98B6_wincon@h DB 01H
__2884C177_verrsrc@h DB 01H
__A3FD3A34_winver@h DB 01H
__6F8AD9F1_reason@h DB 01H
__4C90FD6F_winreg@h DB 01H
__68AFEBAD_wnnc@h DB 01H
__5A7AB086_winnetwk@h DB 01H
__2FE8A10C_stralign@h DB 01H
__34558472_winsvc@h DB 01H
__058845F1_mcx@h DB 01H
__7F16006B_ime_cmodes@h DB 01H
__0A3AF599_imm@h DB 01H
__9349FE86_windows@h DB 01H
__639A050C_sn_internal@h DB 01H
__836A8CFC_stdint@h DB 01H
__714FE6D7_sn_target@h DB 01H
__60B45B40_corecrt_stdio_config@h DB 01H
__CFA3741E_corecrt_wstdio@h DB 01H
__B3FE3303_stdio@h DB 01H
__955456CD_stddef@h DB 01H
__99AED4FB_corecrt_search@h DB 01H
__8B813BF6_corecrt_wstdlib@h DB 01H
__3D1CA2C3_limits@h DB 01H
__E8FB0A68_stdlib@h DB 01H
__F562FA57_stb_image@h DB 01H
__C95DC661_khrplatform@h DB 01H
__6C577136_gl@h DB 01H
__EE638A2C_wgl@h DB 01H
__8EF9E35C_glfw3@h DB 01H
__F8AC8404_emmintrin@h DB 01H
__270DEC8D_pmmintrin@h DB 01H
__97D49F0F_tmmintrin@h DB 01H
__BEEF8A8C_smmintrin@h DB 01H
__DB8D0340_nmmintrin@h DB 01H
__0E36F90E_wmmintrin@h DB 01H
__C5A2B409_zmmintrin@h DB 01H
__F2B616C3_immintrin@h DB 01H
__9FB25DBE_assert@h DB 01H
__4E664295_glfw_function@h DB 01H
__64C0EF11_StgSharpNative@h DB 01H
__F49407C4_sn_intrinsic@matkernel@h DB 01H
__47E843D2_intrin0@inl@h DB 01H
__130964FF_setjmp@h DB 01H
__4875F786_ammintrin@h DB 01H
__353FD888_intrin@h DB 01H
__5FE1E9E3_isa_availability@h DB 01H
__AA840D82_sn_intrinsic@h DB 01H
__47ACF5AF_s@hash@x86@c DB 01H
msvcjmc ENDS
PUBLIC city_hash_simplify_sse
PUBLIC __JustMyCode_Default
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
; COMDAT pdata
pdata SEGMENT
$pdata$city_hash_simplify_sse DD imagerel $LN25
DD imagerel $LN25+632
DD imagerel $unwind$city_hash_simplify_sse
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$city_hash_simplify_sse DD 025051701H
DD 01122317H
DD 0700b0043H
DD 0500aH
xdata ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
00000 c2 00 00 ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\s.hash.x86.c
; COMDAT city_hash_simplify_sse
_TEXT SEGMENT
hash$ = 4
size$ = 36
end$ = 72
ptr$ = 104
last$1 = 136
last_128$2 = 168
last_32$3 = 200
hash64$4 = 232
vec$5 = 272
str$ = 528
length$ = 536
city_hash_simplify_sse PROC ; COMDAT
; 9 : {
$LN25:
00000 89 54 24 10 mov DWORD PTR [rsp+16], edx
00004 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
00009 55 push rbp
0000a 57 push rdi
0000b 48 81 ec 18 02
00 00 sub rsp, 536 ; 00000218H
00012 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00017 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__47ACF5AF_s@hash@x86@c
0001e e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00023 90 npad 1
; 10 : uint32_t hash = length, size = length << 1;
00024 8b 85 18 02 00
00 mov eax, DWORD PTR length$[rbp]
0002a 89 45 04 mov DWORD PTR hash$[rbp], eax
0002d 8b 85 18 02 00
00 mov eax, DWORD PTR length$[rbp]
00033 d1 e0 shl eax, 1
00035 89 45 24 mov DWORD PTR size$[rbp], eax
; 11 : byte *end = str + size, *ptr = str;
00038 8b 45 24 mov eax, DWORD PTR size$[rbp]
0003b 48 8b 8d 10 02
00 00 mov rcx, QWORD PTR str$[rbp]
00042 48 03 c8 add rcx, rax
00045 48 8b c1 mov rax, rcx
00048 48 89 45 48 mov QWORD PTR end$[rbp], rax
0004c 48 8b 85 10 02
00 00 mov rax, QWORD PTR str$[rbp]
00053 48 89 45 68 mov QWORD PTR ptr$[rbp], rax
; 12 :
; 13 : if (size < 4) {
00057 83 7d 24 04 cmp DWORD PTR size$[rbp], 4
0005b 73 35 jae SHORT $LN20@city_hash_
; 14 : for (; ptr < end; ptr += 2) {
0005d eb 0c jmp SHORT $LN4@city_hash_
$LN2@city_hash_:
0005f 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
00063 48 83 c0 02 add rax, 2
00067 48 89 45 68 mov QWORD PTR ptr$[rbp], rax
$LN4@city_hash_:
0006b 48 8b 45 48 mov rax, QWORD PTR end$[rbp]
0006f 48 39 45 68 cmp QWORD PTR ptr$[rbp], rax
00073 73 18 jae SHORT $LN3@city_hash_
; 15 : hash = _mm_crc32_u16(hash, *ptr);
00075 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
00079 66 0f be 00 movsx ax, BYTE PTR [rax]
0007d 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
00080 66 f2 0f 38 f1
c8 crc32 ecx, ax
00086 8b c1 mov eax, ecx
00088 89 45 04 mov DWORD PTR hash$[rbp], eax
; 16 : }
0008b eb d2 jmp SHORT $LN2@city_hash_
$LN3@city_hash_:
; 17 : } else if (size < 16) {
0008d e9 95 01 00 00 jmp $LN21@city_hash_
$LN20@city_hash_:
00092 83 7d 24 10 cmp DWORD PTR size$[rbp], 16
00096 73 6e jae SHORT $LN22@city_hash_
; 18 : byte *last = end - 4;
00098 48 8b 45 48 mov rax, QWORD PTR end$[rbp]
0009c 48 83 e8 04 sub rax, 4
000a0 48 89 85 88 00
00 00 mov QWORD PTR last$1[rbp], rax
; 19 : for (; ptr < end; ptr += 4) {
000a7 eb 0c jmp SHORT $LN7@city_hash_
$LN5@city_hash_:
000a9 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
000ad 48 83 c0 04 add rax, 4
000b1 48 89 45 68 mov QWORD PTR ptr$[rbp], rax
$LN7@city_hash_:
000b5 48 8b 45 48 mov rax, QWORD PTR end$[rbp]
000b9 48 39 45 68 cmp QWORD PTR ptr$[rbp], rax
000bd 73 13 jae SHORT $LN6@city_hash_
; 20 : hash = _mm_crc32_u32(hash, *(uint32_t *)ptr);
000bf 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
000c3 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
000c6 f2 0f 38 f1 08 crc32 ecx, DWORD PTR [rax]
000cb 8b c1 mov eax, ecx
000cd 89 45 04 mov DWORD PTR hash$[rbp], eax
; 21 : }
000d0 eb d7 jmp SHORT $LN5@city_hash_
$LN6@city_hash_:
; 22 : for (; ptr < end; ptr++) {
000d2 eb 0b jmp SHORT $LN10@city_hash_
$LN8@city_hash_:
000d4 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
000d8 48 ff c0 inc rax
000db 48 89 45 68 mov QWORD PTR ptr$[rbp], rax
$LN10@city_hash_:
000df 48 8b 45 48 mov rax, QWORD PTR end$[rbp]
000e3 48 39 45 68 cmp QWORD PTR ptr$[rbp], rax
000e7 73 18 jae SHORT $LN9@city_hash_
; 23 : hash = _mm_crc32_u16(hash, *ptr);
000e9 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
000ed 66 0f be 00 movsx ax, BYTE PTR [rax]
000f1 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
000f4 66 f2 0f 38 f1
c8 crc32 ecx, ax
000fa 8b c1 mov eax, ecx
000fc 89 45 04 mov DWORD PTR hash$[rbp], eax
; 24 : }
000ff eb d3 jmp SHORT $LN8@city_hash_
$LN9@city_hash_:
; 25 : } else {
00101 e9 21 01 00 00 jmp $LN23@city_hash_
$LN22@city_hash_:
; 26 : byte *last_128 = end - 16;
00106 48 8b 45 48 mov rax, QWORD PTR end$[rbp]
0010a 48 83 e8 10 sub rax, 16
0010e 48 89 85 a8 00
00 00 mov QWORD PTR last_128$2[rbp], rax
; 27 : byte *last_32 = end - 4;
00115 48 8b 45 48 mov rax, QWORD PTR end$[rbp]
00119 48 83 e8 04 sub rax, 4
0011d 48 89 85 c8 00
00 00 mov QWORD PTR last_32$3[rbp], rax
; 28 : uint64_t hash64 = size;
00124 8b 45 24 mov eax, DWORD PTR size$[rbp]
00127 48 89 85 e8 00
00 00 mov QWORD PTR hash64$4[rbp], rax
; 29 : for (; ptr < last_128; ptr += 16) {
0012e eb 0c jmp SHORT $LN13@city_hash_
$LN11@city_hash_:
00130 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
00134 48 83 c0 10 add rax, 16
00138 48 89 45 68 mov QWORD PTR ptr$[rbp], rax
$LN13@city_hash_:
0013c 48 8b 85 a8 00
00 00 mov rax, QWORD PTR last_128$2[rbp]
00143 48 39 45 68 cmp QWORD PTR ptr$[rbp], rax
00147 73 5e jae SHORT $LN12@city_hash_
; 30 : __m128i vec = _mm_loadu_si32((int *)ptr);
00149 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
0014d 66 0f 6e 00 movd xmm0, DWORD PTR [rax]
00151 66 0f 7f 85 10
01 00 00 movdqa XMMWORD PTR vec$5[rbp], xmm0
; 31 : hash64 = _mm_crc32_u64(hash64, _mm_extract_epi64(vec, 0));
00159 66 0f 6f 85 10
01 00 00 movdqa xmm0, XMMWORD PTR vec$5[rbp]
00161 66 48 0f 3a 16
c0 00 pextrq rax, xmm0, 0
00168 48 8b 8d e8 00
00 00 mov rcx, QWORD PTR hash64$4[rbp]
0016f f2 48 0f 38 f1
c8 crc32 rcx, rax
00175 48 8b c1 mov rax, rcx
00178 48 89 85 e8 00
00 00 mov QWORD PTR hash64$4[rbp], rax
; 32 : hash64 = _mm_crc32_u64(hash64, _mm_extract_epi64(vec, 1));
0017f 66 0f 6f 85 10
01 00 00 movdqa xmm0, XMMWORD PTR vec$5[rbp]
00187 66 48 0f 3a 16
c0 01 pextrq rax, xmm0, 1
0018e 48 8b 8d e8 00
00 00 mov rcx, QWORD PTR hash64$4[rbp]
00195 f2 48 0f 38 f1
c8 crc32 rcx, rax
0019b 48 8b c1 mov rax, rcx
0019e 48 89 85 e8 00
00 00 mov QWORD PTR hash64$4[rbp], rax
; 33 : }
001a5 eb 89 jmp SHORT $LN11@city_hash_
$LN12@city_hash_:
; 34 : hash = _mm_crc32_u8(hash, hash64);
001a7 8b 45 04 mov eax, DWORD PTR hash$[rbp]
001aa f2 0f 38 f0 85
e8 00 00 00 crc32 eax, BYTE PTR hash64$4[rbp]
001b3 89 45 04 mov DWORD PTR hash$[rbp], eax
; 35 : hash = _mm_crc32_u8(hash, hash64 >> 32);
001b6 48 8b 85 e8 00
00 00 mov rax, QWORD PTR hash64$4[rbp]
001bd 48 c1 e8 20 shr rax, 32 ; 00000020H
001c1 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
001c4 f2 0f 38 f0 c8 crc32 ecx, al
001c9 8b c1 mov eax, ecx
001cb 89 45 04 mov DWORD PTR hash$[rbp], eax
; 36 : for (; ptr < last_32; ptr += 4) {
001ce eb 0c jmp SHORT $LN16@city_hash_
$LN14@city_hash_:
001d0 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
001d4 48 83 c0 04 add rax, 4
001d8 48 89 45 68 mov QWORD PTR ptr$[rbp], rax
$LN16@city_hash_:
001dc 48 8b 85 c8 00
00 00 mov rax, QWORD PTR last_32$3[rbp]
001e3 48 39 45 68 cmp QWORD PTR ptr$[rbp], rax
001e7 73 13 jae SHORT $LN15@city_hash_
; 37 : hash = _mm_crc32_u32(hash, *(uint32_t *)ptr);
001e9 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
001ed 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
001f0 f2 0f 38 f1 08 crc32 ecx, DWORD PTR [rax]
001f5 8b c1 mov eax, ecx
001f7 89 45 04 mov DWORD PTR hash$[rbp], eax
; 38 : }
001fa eb d4 jmp SHORT $LN14@city_hash_
$LN15@city_hash_:
; 39 : for (; ptr < end; ptr += 2) {
001fc eb 0c jmp SHORT $LN19@city_hash_
$LN17@city_hash_:
001fe 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
00202 48 83 c0 02 add rax, 2
00206 48 89 45 68 mov QWORD PTR ptr$[rbp], rax
$LN19@city_hash_:
0020a 48 8b 45 48 mov rax, QWORD PTR end$[rbp]
0020e 48 39 45 68 cmp QWORD PTR ptr$[rbp], rax
00212 73 13 jae SHORT $LN18@city_hash_
; 40 : hash = _mm_crc32_u8(hash, *ptr);
00214 48 8b 45 68 mov rax, QWORD PTR ptr$[rbp]
00218 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
0021b f2 0f 38 f0 08 crc32 ecx, BYTE PTR [rax]
00220 8b c1 mov eax, ecx
00222 89 45 04 mov DWORD PTR hash$[rbp], eax
; 41 : }
00225 eb d7 jmp SHORT $LN17@city_hash_
$LN18@city_hash_:
$LN23@city_hash_:
$LN21@city_hash_:
; 42 : }
; 43 : hash ^= hash >> 16;
00227 8b 45 04 mov eax, DWORD PTR hash$[rbp]
0022a c1 e8 10 shr eax, 16
0022d 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
00230 33 c8 xor ecx, eax
00232 8b c1 mov eax, ecx
00234 89 45 04 mov DWORD PTR hash$[rbp], eax
; 44 : hash *= 0x85ebca6b;
00237 69 45 04 6b ca
eb 85 imul eax, DWORD PTR hash$[rbp], -2048144789 ; 85ebca6bH
0023e 89 45 04 mov DWORD PTR hash$[rbp], eax
; 45 : hash ^= hash >> 13;
00241 8b 45 04 mov eax, DWORD PTR hash$[rbp]
00244 c1 e8 0d shr eax, 13
00247 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
0024a 33 c8 xor ecx, eax
0024c 8b c1 mov eax, ecx
0024e 89 45 04 mov DWORD PTR hash$[rbp], eax
; 46 : hash *= 0xc2b2ae35;
00251 69 45 04 35 ae
b2 c2 imul eax, DWORD PTR hash$[rbp], -1028477387 ; c2b2ae35H
00258 89 45 04 mov DWORD PTR hash$[rbp], eax
; 47 : hash ^= hash >> 16;
0025b 8b 45 04 mov eax, DWORD PTR hash$[rbp]
0025e c1 e8 10 shr eax, 16
00261 8b 4d 04 mov ecx, DWORD PTR hash$[rbp]
00264 33 c8 xor ecx, eax
00266 8b c1 mov eax, ecx
00268 89 45 04 mov DWORD PTR hash$[rbp], eax
; 48 : return hash;
0026b 8b 45 04 mov eax, DWORD PTR hash$[rbp]
; 49 : }
0026e 48 8d a5 f8 01
00 00 lea rsp, QWORD PTR [rbp+504]
00275 5f pop rdi
00276 5d pop rbp
00277 c3 ret 0
city_hash_simplify_sse ENDP
_TEXT ENDS
END
@@ -1,123 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/s.hash.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "fc02339eab2d607b51ac1425e894ee670f6112aeefbc8fa64ef74094789cf0d6"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "94ca202415b5a633ad79580db19ae2b7def151b2e3f5d2dcaa341cfe934a5b0c"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
@@ -1,131 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/simdid.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "d9174088608cc4c8eb2d0f790c5283b2045576d75b8c11769f241c4fa59392ae"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "8a0f03b014c6d2740a21a13df48b1951932be000152771363cd554748facde0d"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "4da90105811ba902ad984b406834cf36cf43862047957dad5471c0b24d221ace"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrincontext.x86.h"
},
"hashes": {
"sha-256": "bbc00ee7320b30ca1234dc7908e4695ff6d5bb2ba3224e4ffaed345010ba8f48"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
File diff suppressed because it is too large Load Diff
@@ -1,131 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/simdid_compare.x86.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "80f3864f5d1a767b85eda0a48b55079b4e877e333133bbbb762072c5abb9dc33"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "8a0f03b014c6d2740a21a13df48b1951932be000152771363cd554748facde0d"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "4da90105811ba902ad984b406834cf36cf43862047957dad5471c0b24d221ace"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrincontext.x86.h"
},
"hashes": {
"sha-256": "bbc00ee7320b30ca1234dc7908e4695ff6d5bb2ba3224e4ffaed345010ba8f48"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
File diff suppressed because it is too large Load Diff
@@ -1,169 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [
{
"ruleId": "C6262",
"message": {
"text": "函数使用堆叠的 \"35036\" 字节。请考虑将一些数据移动到堆。"
},
"analysisTarget": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/sn_native.c"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///D:/platform-dev/StgSharp.Native/lib/stbi/stb_image.h"
},
"region": {
"startLine": 7817,
"startColumn": 14
}
},
"logicalLocations": [
{
"fullyQualifiedName": "stbi__load_gif_main",
"decoratedName": "stbi__load_gif_main",
"kind": "function"
}
]
}
]
},
{
"ruleId": "C6262",
"message": {
"text": "函数使用堆叠的 \"34980\" 字节。请考虑将一些数据移动到堆。"
},
"analysisTarget": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/sn_native.c"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///D:/platform-dev/StgSharp.Native/lib/stbi/stb_image.h"
},
"region": {
"startLine": 7910,
"startColumn": 14
}
},
"logicalLocations": [
{
"fullyQualifiedName": "stbi__gif_load",
"decoratedName": "stbi__gif_load",
"kind": "function"
}
]
}
]
}
],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/sn_native.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "8f89dd595bb98c84b3146bb17fbb4fce491f43bb495c85bd86a4f6ea0df54224"
}
},
{
"location": {
"uri": "file:///D:/platform-dev/StgSharp.Native/lib/stbi/stb_image.h"
},
"roles": [
"resultFile"
],
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
}
]
}
]
}
@@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS>
<DEFECT>
<SFA>
<FILEPATH>D:\platform-dev\StgSharp.Native\lib\stbi\</FILEPATH>
<FILENAME>stb_image.h</FILENAME>
<LINE>7817</LINE>
<COLUMN>13</COLUMN>
</SFA>
<DEFECTCODE>6262</DEFECTCODE>
<DESCRIPTION>函数使用堆叠的 "35036" 字节。请考虑将一些数据移动到堆。</DESCRIPTION>
<FUNCTION>stbi__load_gif_main</FUNCTION>
<DECORATED>stbi__load_gif_main</DECORATED>
<FUNCLINE>7817</FUNCLINE>
<PATH></PATH>
</DEFECT>
<DEFECT>
<SFA>
<FILEPATH>D:\platform-dev\StgSharp.Native\lib\stbi\</FILEPATH>
<FILENAME>stb_image.h</FILENAME>
<LINE>7910</LINE>
<COLUMN>13</COLUMN>
</SFA>
<DEFECTCODE>6262</DEFECTCODE>
<DESCRIPTION>函数使用堆叠的 "34980" 字节。请考虑将一些数据移动到堆。</DESCRIPTION>
<FUNCTION>stbi__gif_load</FUNCTION>
<DECORATED>stbi__gif_load</DECORATED>
<FUNCLINE>7910</FUNCLINE>
<PATH></PATH>
</DEFECT>
</DEFECTS>
Binary file not shown.
Binary file not shown.
@@ -1,505 +0,0 @@
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.44.35220.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM infolog:BYTE:0200H
_DATA ENDS
msvcjmc SEGMENT
__5C8CA4D3_mmintrin@h DB 01H
__8C83BECC_concurrencysal@h DB 01H
__608E3340_sal@h DB 01H
__FB67E29A_vadefs@h DB 01H
__1D1B619C_vcruntime@h DB 01H
__735960E1_corecrt@h DB 01H
__211DB995_corecrt_malloc@h DB 01H
__7CD62D9E_malloc@h DB 01H
__9DCE0DC8_xmmintrin@h DB 01H
__4C2AD0C7_winpackagefamily@h DB 01H
__9DED9ED1_winapifamily@h DB 01H
__12FEDF4E_sdkddkver@h DB 01H
__9BAEE128_excpt@h DB 01H
__B7B53233_stdarg@h DB 01H
__6B04FCB3_specstrings_undef@h DB 01H
__F4027AF7_specstrings_strict@h DB 01H
__B90340D4_sdv_driverspecs@h DB 01H
__BFFF5AD3_driverspecs@h DB 01H
__32847078_specstrings@h DB 01H
__108B2620_corecrt_wctype@h DB 01H
__6CD6613D_ctype@h DB 01H
__30902A1F_kernelspecs@h DB 01H
__376FD5CA_basetsd@h DB 01H
__13DE2371_errno@h DB 01H
__8C6AE390_vcruntime_string@h DB 01H
__8ACB2152_corecrt_memcpy_s@h DB 01H
__EA6C9D17_corecrt_memory@h DB 01H
__0DF2AF52_corecrt_wstring@h DB 01H
__6E889ECC_string@h DB 01H
__9BEDF4DE_guiddef@h DB 01H
__51BFD2FE_pshpack4@h DB 01H
__31652CEA_poppack@h DB 01H
__5532AE4C_pshpack2@h DB 01H
__58A52B9A_pshpack8@h DB 01H
__57741015_pshpack1@h DB 01H
__CDE68C90_apiset@h DB 01H
__0BF06E8D_ktmtypes@h DB 01H
__40C200C0_winnt@h DB 01H
__9336F789_minwindef@h DB 01H
__55136115_windef@h DB 01H
__32205BF0_apisetcconv@h DB 01H
__B48FDEA0_minwinbase@h DB 01H
__3551B028_apiquery2@h DB 01H
__65BE04AA_processenv@h DB 01H
__4767CA46_fileapi@h DB 01H
__282E6C4B_fileapifromapp@h DB 01H
__393AF12C_debugapi@h DB 01H
__EBC502B8_utilapiset@h DB 01H
__1EAD8C69_handleapi@h DB 01H
__D8EF9B29_errhandlingapi@h DB 01H
__97FC1204_fibersapi@h DB 01H
__27448220_namedpipeapi@h DB 01H
__6EA33B2A_profileapi@h DB 01H
__EAC6F673_heapapi@h DB 01H
__D64EEA5A_ioapiset@h DB 01H
__144BD4B6_synchapi@h DB 01H
__03B1C640_interlockedapi@h DB 01H
__DC64CB38_processthreadsapi@h DB 01H
__D719B518_sysinfoapi@h DB 01H
__410385B1_memoryapi@h DB 01H
__C1AD45EF_enclaveapi@h DB 01H
__F4C3AA32_threadpoollegacyapiset@h DB 01H
__AC5A7A9F_threadpoolapiset@h DB 01H
__F5254B21_jobapi@h DB 01H
__BCEA6EE8_jobapi2@h DB 01H
__D18ACE72_wow64apiset@h DB 01H
__669B0D4A_libloaderapi@h DB 01H
__645F7034_securitybaseapi@h DB 01H
__67E58557_namespaceapi@h DB 01H
__599D9D3A_systemtopologyapi@h DB 01H
__2337E373_processtopologyapi@h DB 01H
__02BFF239_securityappcontainer@h DB 01H
__9C196272_realtimeapiset@h DB 01H
__5AB313A4_winerror@h DB 01H
__B7E7187B_timezoneapi@h DB 01H
__6DE9EB6F_winbase@h DB 01H
__56B2AFF2_wingdi@h DB 01H
__BA1161A9_tvout@h DB 01H
__0501A018_winuser@h DB 01H
__EF12FA99_datetimeapi@h DB 01H
__8FA7C3CA_winnls@h DB 01H
__390F0C47_stringapiset@h DB 01H
__28605B0A_wincontypes@h DB 01H
__BFBDE86D_consoleapi@h DB 01H
__C3CAFBF0_consoleapi2@h DB 01H
__C20891C7_consoleapi3@h DB 01H
__717C98B6_wincon@h DB 01H
__2884C177_verrsrc@h DB 01H
__A3FD3A34_winver@h DB 01H
__6F8AD9F1_reason@h DB 01H
__4C90FD6F_winreg@h DB 01H
__68AFEBAD_wnnc@h DB 01H
__5A7AB086_winnetwk@h DB 01H
__2FE8A10C_stralign@h DB 01H
__34558472_winsvc@h DB 01H
__058845F1_mcx@h DB 01H
__7F16006B_ime_cmodes@h DB 01H
__0A3AF599_imm@h DB 01H
__9349FE86_windows@h DB 01H
__639A050C_sn_internal@h DB 01H
__836A8CFC_stdint@h DB 01H
__714FE6D7_sn_target@h DB 01H
__60B45B40_corecrt_stdio_config@h DB 01H
__CFA3741E_corecrt_wstdio@h DB 01H
__B3FE3303_stdio@h DB 01H
__955456CD_stddef@h DB 01H
__99AED4FB_corecrt_search@h DB 01H
__8B813BF6_corecrt_wstdlib@h DB 01H
__3D1CA2C3_limits@h DB 01H
__E8FB0A68_stdlib@h DB 01H
__F562FA57_stb_image@h DB 01H
__C95DC661_khrplatform@h DB 01H
__6C577136_gl@h DB 01H
__EE638A2C_wgl@h DB 01H
__8EF9E35C_glfw3@h DB 01H
__F8AC8404_emmintrin@h DB 01H
__270DEC8D_pmmintrin@h DB 01H
__97D49F0F_tmmintrin@h DB 01H
__BEEF8A8C_smmintrin@h DB 01H
__DB8D0340_nmmintrin@h DB 01H
__0E36F90E_wmmintrin@h DB 01H
__C5A2B409_zmmintrin@h DB 01H
__F2B616C3_immintrin@h DB 01H
__9FB25DBE_assert@h DB 01H
__4E664295_glfw_function@h DB 01H
__64C0EF11_StgSharpNative@h DB 01H
__F49407C4_sn_intrinsic@matkernel@h DB 01H
__47E843D2_intrin0@inl@h DB 01H
__130964FF_setjmp@h DB 01H
__4875F786_ammintrin@h DB 01H
__353FD888_intrin@h DB 01H
__5FE1E9E3_isa_availability@h DB 01H
__AA840D82_sn_intrinsic@h DB 01H
__0E68EE93_str_string@c DB 01H
msvcjmc ENDS
PUBLIC index_pair_sse
PUBLIC __JustMyCode_Default
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
; COMDAT pdata
pdata SEGMENT
$pdata$index_pair_sse DD imagerel $LN23
DD imagerel $LN23+552
DD imagerel $unwind$index_pair_sse
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$index_pair_sse DD 025051c01H
DD 0117231cH
DD 070100047H
DD 0500fH
xdata ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
00000 c2 00 00 ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\str_string.c
; COMDAT index_pair_sse
_TEXT SEGMENT
index$ = 4
result$ = 36
size$ = 68
end$ = 100
s$ = 144
vec$ = 192
com$ = 240
i$1 = 280
i$2 = 312
tv150 = 516
str$ = 560
target$ = 568
length$ = 576
index_pair_sse PROC ; COMDAT
; 8 : {
$LN23:
00000 44 89 44 24 18 mov DWORD PTR [rsp+24], r8d
00005 89 54 24 10 mov DWORD PTR [rsp+16], edx
00009 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000e 55 push rbp
0000f 57 push rdi
00010 48 81 ec 38 02
00 00 sub rsp, 568 ; 00000238H
00017 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001c 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__0E68EE93_str_string@c
00023 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00028 90 npad 1
; 9 : int index = 0, result = 0, size = length, end = size - 8;
00029 c7 45 04 00 00
00 00 mov DWORD PTR index$[rbp], 0
00030 c7 45 24 00 00
00 00 mov DWORD PTR result$[rbp], 0
00037 8b 85 40 02 00
00 mov eax, DWORD PTR length$[rbp]
0003d 89 45 44 mov DWORD PTR size$[rbp], eax
00040 8b 45 44 mov eax, DWORD PTR size$[rbp]
00043 83 e8 08 sub eax, 8
00046 89 45 64 mov DWORD PTR end$[rbp], eax
; 10 : __m128i s = _mm_set1_epi32(target);
00049 66 0f 6e 85 38
02 00 00 movd xmm0, DWORD PTR target$[rbp]
00051 66 0f 70 c0 00 pshufd xmm0, xmm0, 0
00056 66 0f 7f 85 90
00 00 00 movdqa XMMWORD PTR s$[rbp], xmm0
$LN2@index_pair:
; 11 : __m128i vec, com;
; 12 :
; 13 : while (index < end) {
0005e 8b 45 64 mov eax, DWORD PTR end$[rbp]
00061 39 45 04 cmp DWORD PTR index$[rbp], eax
00064 0f 8d 52 01 00
00 jge $LN3@index_pair
; 14 : vec = _mm_loadu_epi32(str + index);
0006a 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
0006e 48 8b 8d 30 02
00 00 mov rcx, QWORD PTR str$[rbp]
00075 48 8d 04 41 lea rax, QWORD PTR [rcx+rax*2]
00079 c5 fa 6f 00 vmovdqu xmm0, XMMWORD PTR [rax]
0007d 66 0f 7f 85 c0
00 00 00 movdqa XMMWORD PTR vec$[rbp], xmm0
; 15 : com = _mm_cmpeq_epi16(vec, s);
00085 66 0f 6f 85 c0
00 00 00 movdqa xmm0, XMMWORD PTR vec$[rbp]
0008d 66 0f 75 85 90
00 00 00 pcmpeqw xmm0, XMMWORD PTR s$[rbp]
00095 66 0f 7f 85 f0
00 00 00 movdqa XMMWORD PTR com$[rbp], xmm0
; 16 : result = _mm_movemask_epi8(com);
0009d 66 0f 6f 85 f0
00 00 00 movdqa xmm0, XMMWORD PTR com$[rbp]
000a5 66 0f d7 c0 pmovmskb eax, xmm0
000a9 89 45 24 mov DWORD PTR result$[rbp], eax
; 17 : if (result) {
000ac 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
000b0 74 56 je SHORT $LN13@index_pair
; 18 : for (size_t i = 0; i < 7; i++) {
000b2 48 c7 85 18 01
00 00 00 00 00
00 mov QWORD PTR i$1[rbp], 0
000bd eb 11 jmp SHORT $LN6@index_pair
$LN4@index_pair:
000bf 48 8b 85 18 01
00 00 mov rax, QWORD PTR i$1[rbp]
000c6 48 ff c0 inc rax
000c9 48 89 85 18 01
00 00 mov QWORD PTR i$1[rbp], rax
$LN6@index_pair:
000d0 48 83 bd 18 01
00 00 07 cmp QWORD PTR i$1[rbp], 7
000d8 73 2e jae SHORT $LN5@index_pair
; 19 : if (((result & 0xF) == 0xF)) {
000da 8b 45 24 mov eax, DWORD PTR result$[rbp]
000dd 83 e0 0f and eax, 15
000e0 83 f8 0f cmp eax, 15
000e3 75 10 jne SHORT $LN14@index_pair
; 20 : return index + i;
000e5 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
000e9 48 03 85 18 01
00 00 add rax, QWORD PTR i$1[rbp]
000f0 e9 29 01 00 00 jmp $LN1@index_pair
$LN14@index_pair:
; 21 : }
; 22 : if (result == 0) {
000f5 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
000f9 75 02 jne SHORT $LN15@index_pair
; 23 : break;
000fb eb 0b jmp SHORT $LN5@index_pair
$LN15@index_pair:
; 24 : }
; 25 : result >>= 2;
000fd 8b 45 24 mov eax, DWORD PTR result$[rbp]
00100 c1 f8 02 sar eax, 2
00103 89 45 24 mov DWORD PTR result$[rbp], eax
; 26 : }
00106 eb b7 jmp SHORT $LN4@index_pair
$LN5@index_pair:
$LN13@index_pair:
; 27 : }
; 28 : index += 1;
00108 8b 45 04 mov eax, DWORD PTR index$[rbp]
0010b ff c0 inc eax
0010d 89 45 04 mov DWORD PTR index$[rbp], eax
; 29 : vec = _mm_loadu_epi32(str + index);
00110 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
00114 48 8b 8d 30 02
00 00 mov rcx, QWORD PTR str$[rbp]
0011b 48 8d 04 41 lea rax, QWORD PTR [rcx+rax*2]
0011f c5 fa 6f 00 vmovdqu xmm0, XMMWORD PTR [rax]
00123 66 0f 7f 85 c0
00 00 00 movdqa XMMWORD PTR vec$[rbp], xmm0
; 30 : com = _mm_cmpeq_epi16(vec, s);
0012b 66 0f 6f 85 c0
00 00 00 movdqa xmm0, XMMWORD PTR vec$[rbp]
00133 66 0f 75 85 90
00 00 00 pcmpeqw xmm0, XMMWORD PTR s$[rbp]
0013b 66 0f 7f 85 f0
00 00 00 movdqa XMMWORD PTR com$[rbp], xmm0
; 31 : result = _mm_movemask_epi8(com);
00143 66 0f 6f 85 f0
00 00 00 movdqa xmm0, XMMWORD PTR com$[rbp]
0014b 66 0f d7 c0 pmovmskb eax, xmm0
0014f 89 45 24 mov DWORD PTR result$[rbp], eax
; 32 : if (result) {
00152 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
00156 74 56 je SHORT $LN16@index_pair
; 33 : for (size_t i = 0; i < 7; i++) {
00158 48 c7 85 38 01
00 00 00 00 00
00 mov QWORD PTR i$2[rbp], 0
00163 eb 11 jmp SHORT $LN9@index_pair
$LN7@index_pair:
00165 48 8b 85 38 01
00 00 mov rax, QWORD PTR i$2[rbp]
0016c 48 ff c0 inc rax
0016f 48 89 85 38 01
00 00 mov QWORD PTR i$2[rbp], rax
$LN9@index_pair:
00176 48 83 bd 38 01
00 00 07 cmp QWORD PTR i$2[rbp], 7
0017e 73 2e jae SHORT $LN8@index_pair
; 34 : if (((result & 0xF) == 0xF)) {
00180 8b 45 24 mov eax, DWORD PTR result$[rbp]
00183 83 e0 0f and eax, 15
00186 83 f8 0f cmp eax, 15
00189 75 10 jne SHORT $LN17@index_pair
; 35 : return index + i;
0018b 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
0018f 48 03 85 38 01
00 00 add rax, QWORD PTR i$2[rbp]
00196 e9 83 00 00 00 jmp $LN1@index_pair
$LN17@index_pair:
; 36 : }
; 37 : if (result == 0) {
0019b 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
0019f 75 02 jne SHORT $LN18@index_pair
; 38 : break;
001a1 eb 0b jmp SHORT $LN8@index_pair
$LN18@index_pair:
; 39 : }
; 40 : result >>= 2;
001a3 8b 45 24 mov eax, DWORD PTR result$[rbp]
001a6 c1 f8 02 sar eax, 2
001a9 89 45 24 mov DWORD PTR result$[rbp], eax
; 41 : }
001ac eb b7 jmp SHORT $LN7@index_pair
$LN8@index_pair:
$LN16@index_pair:
; 42 : }
; 43 : index += 7;
001ae 8b 45 04 mov eax, DWORD PTR index$[rbp]
001b1 83 c0 07 add eax, 7
001b4 89 45 04 mov DWORD PTR index$[rbp], eax
; 44 : }
001b7 e9 a2 fe ff ff jmp $LN2@index_pair
$LN3@index_pair:
; 45 : for (; (index < size - 1) && (!result); index += 2) {
001bc eb 09 jmp SHORT $LN12@index_pair
$LN10@index_pair:
001be 8b 45 04 mov eax, DWORD PTR index$[rbp]
001c1 83 c0 02 add eax, 2
001c4 89 45 04 mov DWORD PTR index$[rbp], eax
$LN12@index_pair:
001c7 8b 45 44 mov eax, DWORD PTR size$[rbp]
001ca ff c8 dec eax
001cc 39 45 04 cmp DWORD PTR index$[rbp], eax
001cf 7d 3d jge SHORT $LN11@index_pair
001d1 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
001d5 75 37 jne SHORT $LN11@index_pair
; 46 : result = *(int *)(str + index) == target;
001d7 48 63 45 04 movsxd rax, DWORD PTR index$[rbp]
001db 48 8b 8d 30 02
00 00 mov rcx, QWORD PTR str$[rbp]
001e2 8b 95 38 02 00
00 mov edx, DWORD PTR target$[rbp]
001e8 39 14 41 cmp DWORD PTR [rcx+rax*2], edx
001eb 75 0c jne SHORT $LN21@index_pair
001ed c7 85 04 02 00
00 01 00 00 00 mov DWORD PTR tv150[rbp], 1
001f7 eb 0a jmp SHORT $LN22@index_pair
$LN21@index_pair:
001f9 c7 85 04 02 00
00 00 00 00 00 mov DWORD PTR tv150[rbp], 0
$LN22@index_pair:
00203 8b 85 04 02 00
00 mov eax, DWORD PTR tv150[rbp]
00209 89 45 24 mov DWORD PTR result$[rbp], eax
; 47 : }
0020c eb b0 jmp SHORT $LN10@index_pair
$LN11@index_pair:
; 48 : if (result) {
0020e 83 7d 24 00 cmp DWORD PTR result$[rbp], 0
00212 74 05 je SHORT $LN19@index_pair
; 49 : return index;
00214 8b 45 04 mov eax, DWORD PTR index$[rbp]
00217 eb 05 jmp SHORT $LN1@index_pair
$LN19@index_pair:
; 50 : }
; 51 : return -1;
00219 b8 ff ff ff ff mov eax, -1
$LN1@index_pair:
; 52 : }
0021e 48 8d a5 18 02
00 00 lea rsp, QWORD PTR [rbp+536]
00225 5f pop rdi
00226 5d pop rbp
00227 c3 ret 0
index_pair_sse ENDP
_TEXT ENDS
END
@@ -1,123 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/str_string.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "b995f1bf18433a2c3ed0a2d988b88348ca734be821d64970a6bc045925bb77de"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "94ca202415b5a633ad79580db19ae2b7def151b2e3f5d2dcaa341cfe934a5b0c"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.
@@ -1,471 +0,0 @@
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.44.35220.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM infolog:BYTE:0200H
_DATA ENDS
msvcjmc SEGMENT
__5C8CA4D3_mmintrin@h DB 01H
__8C83BECC_concurrencysal@h DB 01H
__608E3340_sal@h DB 01H
__FB67E29A_vadefs@h DB 01H
__1D1B619C_vcruntime@h DB 01H
__735960E1_corecrt@h DB 01H
__211DB995_corecrt_malloc@h DB 01H
__7CD62D9E_malloc@h DB 01H
__9DCE0DC8_xmmintrin@h DB 01H
__4C2AD0C7_winpackagefamily@h DB 01H
__9DED9ED1_winapifamily@h DB 01H
__12FEDF4E_sdkddkver@h DB 01H
__9BAEE128_excpt@h DB 01H
__B7B53233_stdarg@h DB 01H
__6B04FCB3_specstrings_undef@h DB 01H
__F4027AF7_specstrings_strict@h DB 01H
__B90340D4_sdv_driverspecs@h DB 01H
__BFFF5AD3_driverspecs@h DB 01H
__32847078_specstrings@h DB 01H
__108B2620_corecrt_wctype@h DB 01H
__6CD6613D_ctype@h DB 01H
__30902A1F_kernelspecs@h DB 01H
__376FD5CA_basetsd@h DB 01H
__13DE2371_errno@h DB 01H
__8C6AE390_vcruntime_string@h DB 01H
__8ACB2152_corecrt_memcpy_s@h DB 01H
__EA6C9D17_corecrt_memory@h DB 01H
__0DF2AF52_corecrt_wstring@h DB 01H
__6E889ECC_string@h DB 01H
__9BEDF4DE_guiddef@h DB 01H
__51BFD2FE_pshpack4@h DB 01H
__31652CEA_poppack@h DB 01H
__5532AE4C_pshpack2@h DB 01H
__58A52B9A_pshpack8@h DB 01H
__57741015_pshpack1@h DB 01H
__CDE68C90_apiset@h DB 01H
__0BF06E8D_ktmtypes@h DB 01H
__40C200C0_winnt@h DB 01H
__9336F789_minwindef@h DB 01H
__55136115_windef@h DB 01H
__32205BF0_apisetcconv@h DB 01H
__B48FDEA0_minwinbase@h DB 01H
__3551B028_apiquery2@h DB 01H
__65BE04AA_processenv@h DB 01H
__4767CA46_fileapi@h DB 01H
__282E6C4B_fileapifromapp@h DB 01H
__393AF12C_debugapi@h DB 01H
__EBC502B8_utilapiset@h DB 01H
__1EAD8C69_handleapi@h DB 01H
__D8EF9B29_errhandlingapi@h DB 01H
__97FC1204_fibersapi@h DB 01H
__27448220_namedpipeapi@h DB 01H
__6EA33B2A_profileapi@h DB 01H
__EAC6F673_heapapi@h DB 01H
__D64EEA5A_ioapiset@h DB 01H
__144BD4B6_synchapi@h DB 01H
__03B1C640_interlockedapi@h DB 01H
__DC64CB38_processthreadsapi@h DB 01H
__D719B518_sysinfoapi@h DB 01H
__410385B1_memoryapi@h DB 01H
__C1AD45EF_enclaveapi@h DB 01H
__F4C3AA32_threadpoollegacyapiset@h DB 01H
__AC5A7A9F_threadpoolapiset@h DB 01H
__F5254B21_jobapi@h DB 01H
__BCEA6EE8_jobapi2@h DB 01H
__D18ACE72_wow64apiset@h DB 01H
__669B0D4A_libloaderapi@h DB 01H
__645F7034_securitybaseapi@h DB 01H
__67E58557_namespaceapi@h DB 01H
__599D9D3A_systemtopologyapi@h DB 01H
__2337E373_processtopologyapi@h DB 01H
__02BFF239_securityappcontainer@h DB 01H
__9C196272_realtimeapiset@h DB 01H
__5AB313A4_winerror@h DB 01H
__B7E7187B_timezoneapi@h DB 01H
__6DE9EB6F_winbase@h DB 01H
__56B2AFF2_wingdi@h DB 01H
__BA1161A9_tvout@h DB 01H
__0501A018_winuser@h DB 01H
__EF12FA99_datetimeapi@h DB 01H
__8FA7C3CA_winnls@h DB 01H
__390F0C47_stringapiset@h DB 01H
__28605B0A_wincontypes@h DB 01H
__BFBDE86D_consoleapi@h DB 01H
__C3CAFBF0_consoleapi2@h DB 01H
__C20891C7_consoleapi3@h DB 01H
__717C98B6_wincon@h DB 01H
__2884C177_verrsrc@h DB 01H
__A3FD3A34_winver@h DB 01H
__6F8AD9F1_reason@h DB 01H
__4C90FD6F_winreg@h DB 01H
__68AFEBAD_wnnc@h DB 01H
__5A7AB086_winnetwk@h DB 01H
__2FE8A10C_stralign@h DB 01H
__34558472_winsvc@h DB 01H
__058845F1_mcx@h DB 01H
__7F16006B_ime_cmodes@h DB 01H
__0A3AF599_imm@h DB 01H
__9349FE86_windows@h DB 01H
__639A050C_sn_internal@h DB 01H
__836A8CFC_stdint@h DB 01H
__714FE6D7_sn_target@h DB 01H
__60B45B40_corecrt_stdio_config@h DB 01H
__CFA3741E_corecrt_wstdio@h DB 01H
__B3FE3303_stdio@h DB 01H
__955456CD_stddef@h DB 01H
__99AED4FB_corecrt_search@h DB 01H
__8B813BF6_corecrt_wstdlib@h DB 01H
__3D1CA2C3_limits@h DB 01H
__E8FB0A68_stdlib@h DB 01H
__F562FA57_stb_image@h DB 01H
__C95DC661_khrplatform@h DB 01H
__6C577136_gl@h DB 01H
__EE638A2C_wgl@h DB 01H
__8EF9E35C_glfw3@h DB 01H
__F8AC8404_emmintrin@h DB 01H
__270DEC8D_pmmintrin@h DB 01H
__97D49F0F_tmmintrin@h DB 01H
__BEEF8A8C_smmintrin@h DB 01H
__DB8D0340_nmmintrin@h DB 01H
__0E36F90E_wmmintrin@h DB 01H
__C5A2B409_zmmintrin@h DB 01H
__F2B616C3_immintrin@h DB 01H
__9FB25DBE_assert@h DB 01H
__4E664295_glfw_function@h DB 01H
__64C0EF11_StgSharpNative@h DB 01H
__C1B0F7FE_t@affinity@c DB 01H
msvcjmc ENDS
PUBLIC sn_set_thread_affinity
PUBLIC __JustMyCode_Default
EXTRN memset:PROC
EXTRN __imp_GetCurrentThread:PROC
EXTRN __imp_GetThreadGroupAffinity:PROC
EXTRN __imp_SetThreadGroupAffinity:PROC
EXTRN __imp_GetActiveProcessorCount:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN __security_cookie:QWORD
; COMDAT pdata
pdata SEGMENT
$pdata$sn_set_thread_affinity DD imagerel $LN7
DD imagerel $LN7+460
DD imagerel $unwind$sn_set_thread_affinity
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
; COMDAT voltbl
voltbl SEGMENT
_volmd DW 034H
DW 01b3H
voltbl ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$sn_set_thread_affinity DD 025053b19H
DD 010d2312H
DD 070060041H
DD 05005H
DD imagerel __GSHandlerCheck
DD 01f8H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
sn_set_thread_affinity$rtcName$0 DB 063H
DB 075H
DB 072H
DB 072H
DB 065H
DB 06eH
DB 074H
DB 00H
sn_set_thread_affinity$rtcName$1 DB 067H
DB 061H
DB 00H
ORG $+1
sn_set_thread_affinity$rtcName$2 DB 067H
DB 061H
DB 00H
ORG $+1
sn_set_thread_affinity$rtcVarDesc DD 0108H
DD 010H
DQ FLAT:sn_set_thread_affinity$rtcName$2
DD 078H
DD 010H
DQ FLAT:sn_set_thread_affinity$rtcName$1
DD 028H
DD 010H
DQ FLAT:sn_set_thread_affinity$rtcName$0
ORG $+144
sn_set_thread_affinity$rtcFrameData DD 03H
DD 00H
DQ FLAT:sn_set_thread_affinity$rtcVarDesc
CONST ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
00000 c2 00 00 ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\t.affinity.c
; COMDAT sn_set_thread_affinity
_TEXT SEGMENT
current$6 = 8
count$7 = 52
ga$8 = 88
group$ = 132
index$ = 164
count$ = 196
ga$ = 232
tv76 = 456
tv153 = 456
tv144 = 464
__$ArrayPad$ = 472
core_id$ = 512
sn_set_thread_affinity PROC ; COMDAT
; 15 : {
$LN7:
00000 89 4c 24 08 mov DWORD PTR [rsp+8], ecx
00004 55 push rbp
00005 57 push rdi
00006 48 81 ec 08 02
00 00 sub rsp, 520 ; 00000208H
0000d 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00012 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32]
00017 b9 4a 00 00 00 mov ecx, 74 ; 0000004aH
0001c b8 cc cc cc cc mov eax, -858993460 ; ccccccccH
00021 f3 ab rep stosd
00023 8b 8c 24 28 02
00 00 mov ecx, DWORD PTR [rsp+552]
0002a 48 8b 05 00 00
00 00 mov rax, QWORD PTR __security_cookie
00031 48 33 c5 xor rax, rbp
00034 48 89 85 d8 01
00 00 mov QWORD PTR __$ArrayPad$[rbp], rax
0003b 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__C1B0F7FE_t@affinity@c
00042 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00047 90 npad 1
; 16 : #if SN_IS_OS(SN_OS_WINDOWS)
; 17 : if (core_id < 0) {
00048 83 bd 00 02 00
00 00 cmp DWORD PTR core_id$[rbp], 0
0004f 0f 8d 9b 00 00
00 jge $LN2@sn_set_thr
; 18 : /* Query which group the thread currently belongs to */
; 19 : GROUP_AFFINITY current;
; 20 : GetThreadGroupAffinity(GetCurrentThread(), &current);
00055 ff 15 00 00 00
00 call QWORD PTR __imp_GetCurrentThread
0005b 48 8d 55 08 lea rdx, QWORD PTR current$6[rbp]
0005f 48 8b c8 mov rcx, rax
00062 ff 15 00 00 00
00 call QWORD PTR __imp_GetThreadGroupAffinity
00068 90 npad 1
; 21 : /* Build a full mask for that group's actual core count */
; 22 : DWORD count = GetActiveProcessorCount(current.Group);
00069 0f b7 4d 10 movzx ecx, WORD PTR current$6[rbp+8]
0006d ff 15 00 00 00
00 call QWORD PTR __imp_GetActiveProcessorCount
00073 89 45 34 mov DWORD PTR count$7[rbp], eax
; 23 : GROUP_AFFINITY ga;
; 24 : memset(&ga, 0, sizeof(ga));
00076 41 b8 10 00 00
00 mov r8d, 16
0007c 33 d2 xor edx, edx
0007e 48 8d 4d 58 lea rcx, QWORD PTR ga$8[rbp]
00082 e8 00 00 00 00 call memset
00087 90 npad 1
; 25 : ga.Group = current.Group;
00088 0f b7 45 10 movzx eax, WORD PTR current$6[rbp+8]
0008c 66 89 45 60 mov WORD PTR ga$8[rbp+8], ax
; 26 : ga.Mask = (count >= 64) ? ~(KAFFINITY)0
00090 83 7d 34 40 cmp DWORD PTR count$7[rbp], 64 ; 00000040H
00094 72 0d jb SHORT $LN5@sn_set_thr
00096 48 c7 85 c8 01
00 00 ff ff ff
ff mov QWORD PTR tv76[rbp], -1
000a1 eb 26 jmp SHORT $LN6@sn_set_thr
$LN5@sn_set_thr:
000a3 8b 45 34 mov eax, DWORD PTR count$7[rbp]
000a6 b9 01 00 00 00 mov ecx, 1
000ab 48 89 8d d0 01
00 00 mov QWORD PTR tv144[rbp], rcx
000b2 0f b6 c8 movzx ecx, al
000b5 48 8b 85 d0 01
00 00 mov rax, QWORD PTR tv144[rbp]
000bc 48 d3 e0 shl rax, cl
000bf 48 ff c8 dec rax
000c2 48 89 85 c8 01
00 00 mov QWORD PTR tv76[rbp], rax
$LN6@sn_set_thr:
000c9 48 8b 85 c8 01
00 00 mov rax, QWORD PTR tv76[rbp]
000d0 48 89 45 58 mov QWORD PTR ga$8[rbp], rax
; 27 : : ((KAFFINITY)1 << count) - 1;
; 28 : SetThreadGroupAffinity(GetCurrentThread(), &ga, NULL);
000d4 ff 15 00 00 00
00 call QWORD PTR __imp_GetCurrentThread
000da 45 33 c0 xor r8d, r8d
000dd 48 8d 55 58 lea rdx, QWORD PTR ga$8[rbp]
000e1 48 8b c8 mov rcx, rax
000e4 ff 15 00 00 00
00 call QWORD PTR __imp_SetThreadGroupAffinity
000ea 90 npad 1
; 29 : return;
000eb e9 b3 00 00 00 jmp $LN1@sn_set_thr
$LN2@sn_set_thr:
; 30 : }
; 31 : WORD group = (WORD)(core_id / 64);
000f0 8b 85 00 02 00
00 mov eax, DWORD PTR core_id$[rbp]
000f6 99 cdq
000f7 83 e2 3f and edx, 63 ; 0000003fH
000fa 03 c2 add eax, edx
000fc c1 f8 06 sar eax, 6
000ff 66 89 85 84 00
00 00 mov WORD PTR group$[rbp], ax
; 32 : int index = core_id % 64;
00106 8b 85 00 02 00
00 mov eax, DWORD PTR core_id$[rbp]
0010c 99 cdq
0010d 83 e2 3f and edx, 63 ; 0000003fH
00110 03 c2 add eax, edx
00112 83 e0 3f and eax, 63 ; 0000003fH
00115 2b c2 sub eax, edx
00117 89 85 a4 00 00
00 mov DWORD PTR index$[rbp], eax
; 33 : DWORD count = GetActiveProcessorCount(group);
0011d 0f b7 8d 84 00
00 00 movzx ecx, WORD PTR group$[rbp]
00124 ff 15 00 00 00
00 call QWORD PTR __imp_GetActiveProcessorCount
0012a 89 85 c4 00 00
00 mov DWORD PTR count$[rbp], eax
; 34 : if ((DWORD)index >= count)
00130 8b 85 c4 00 00
00 mov eax, DWORD PTR count$[rbp]
00136 39 85 a4 00 00
00 cmp DWORD PTR index$[rbp], eax
0013c 72 02 jb SHORT $LN3@sn_set_thr
; 35 : return;
0013e eb 63 jmp SHORT $LN1@sn_set_thr
$LN3@sn_set_thr:
; 36 : GROUP_AFFINITY ga;
; 37 : memset(&ga, 0, sizeof(ga));
00140 41 b8 10 00 00
00 mov r8d, 16
00146 33 d2 xor edx, edx
00148 48 8d 8d e8 00
00 00 lea rcx, QWORD PTR ga$[rbp]
0014f e8 00 00 00 00 call memset
00154 90 npad 1
; 38 : ga.Group = group;
00155 0f b7 85 84 00
00 00 movzx eax, WORD PTR group$[rbp]
0015c 66 89 85 f0 00
00 00 mov WORD PTR ga$[rbp+8], ax
; 39 : ga.Mask = (KAFFINITY)1 << index;
00163 8b 85 a4 00 00
00 mov eax, DWORD PTR index$[rbp]
00169 b9 01 00 00 00 mov ecx, 1
0016e 48 89 8d c8 01
00 00 mov QWORD PTR tv153[rbp], rcx
00175 0f b6 c8 movzx ecx, al
00178 48 8b 85 c8 01
00 00 mov rax, QWORD PTR tv153[rbp]
0017f 48 d3 e0 shl rax, cl
00182 48 89 85 e8 00
00 00 mov QWORD PTR ga$[rbp], rax
; 40 : SetThreadGroupAffinity(GetCurrentThread(), &ga, NULL);
00189 ff 15 00 00 00
00 call QWORD PTR __imp_GetCurrentThread
0018f 45 33 c0 xor r8d, r8d
00192 48 8d 95 e8 00
00 00 lea rdx, QWORD PTR ga$[rbp]
00199 48 8b c8 mov rcx, rax
0019c ff 15 00 00 00
00 call QWORD PTR __imp_SetThreadGroupAffinity
001a2 90 npad 1
$LN1@sn_set_thr:
; 41 :
; 42 : #elif SN_IS_OS(SN_OS_LINUX)
; 43 : cpu_set_t set;
; 44 : if (core_id < 0) {
; 45 : CPU_ZERO(&set);
; 46 : long ncpus = sysconf(_SC_NPROCESSORS_ONLN);
; 47 : for (long i = 0; i < ncpus; i++)
; 48 : CPU_SET((int)i, &set);
; 49 : } else {
; 50 : CPU_ZERO(&set);
; 51 : CPU_SET(core_id, &set);
; 52 : }
; 53 : pthread_setaffinity_np(pthread_self(), sizeof(set), &set);
; 54 : #endif
; 55 : }
001a3 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
001a7 48 8d 15 00 00
00 00 lea rdx, OFFSET FLAT:sn_set_thread_affinity$rtcFrameData
001ae e8 00 00 00 00 call _RTC_CheckStackVars
001b3 48 8b 8d d8 01
00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp]
001ba 48 33 cd xor rcx, rbp
001bd e8 00 00 00 00 call __security_check_cookie
001c2 48 8d a5 e8 01
00 00 lea rsp, QWORD PTR [rbp+488]
001c9 5f pop rdi
001ca 5d pop rbp
001cb c3 ret 0
sn_set_thread_affinity ENDP
_TEXT ENDS
END
@@ -1,107 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/t.affinity.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "bdd49dec4a40d31498bece7e0c539ba4afb6b4124225017a6b2170fed477265b"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.
@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><DEFECTS><DEFECT>
<SFA>
<FILEPATH>D:\platform-dev\StgSharp.Native\lib\stbi\</FILEPATH>
<FILENAME>stb_image.h</FILENAME>
<LINE>7817</LINE>
<COLUMN>13</COLUMN>
</SFA>
<DEFECTCODE>6262</DEFECTCODE>
<DESCRIPTION>函数使用堆叠的 "35036" 字节。请考虑将一些数据移动到堆。</DESCRIPTION>
<FUNCTION>stbi__load_gif_main</FUNCTION>
<DECORATED>stbi__load_gif_main</DECORATED>
<FUNCLINE>7817</FUNCLINE>
<PATH></PATH>
</DEFECT><DEFECT>
<SFA>
<FILEPATH>D:\platform-dev\StgSharp.Native\lib\stbi\</FILEPATH>
<FILENAME>stb_image.h</FILENAME>
<LINE>7910</LINE>
<COLUMN>13</COLUMN>
</SFA>
<DEFECTCODE>6262</DEFECTCODE>
<DESCRIPTION>函数使用堆叠的 "34980" 字节。请考虑将一些数据移动到堆。</DESCRIPTION>
<FUNCTION>stbi__gif_load</FUNCTION>
<DECORATED>stbi__gif_load</DECORATED>
<FUNCLINE>7910</FUNCLINE>
<PATH></PATH>
</DEFECT></DEFECTS>
Binary file not shown.
Binary file not shown.
-375
View File
@@ -1,375 +0,0 @@
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.44.35220.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM infolog:BYTE:0200H
_DATA ENDS
msvcjmc SEGMENT
__5C8CA4D3_mmintrin@h DB 01H
__8C83BECC_concurrencysal@h DB 01H
__608E3340_sal@h DB 01H
__FB67E29A_vadefs@h DB 01H
__1D1B619C_vcruntime@h DB 01H
__735960E1_corecrt@h DB 01H
__211DB995_corecrt_malloc@h DB 01H
__7CD62D9E_malloc@h DB 01H
__9DCE0DC8_xmmintrin@h DB 01H
__4C2AD0C7_winpackagefamily@h DB 01H
__9DED9ED1_winapifamily@h DB 01H
__12FEDF4E_sdkddkver@h DB 01H
__9BAEE128_excpt@h DB 01H
__B7B53233_stdarg@h DB 01H
__6B04FCB3_specstrings_undef@h DB 01H
__F4027AF7_specstrings_strict@h DB 01H
__B90340D4_sdv_driverspecs@h DB 01H
__BFFF5AD3_driverspecs@h DB 01H
__32847078_specstrings@h DB 01H
__108B2620_corecrt_wctype@h DB 01H
__6CD6613D_ctype@h DB 01H
__30902A1F_kernelspecs@h DB 01H
__376FD5CA_basetsd@h DB 01H
__13DE2371_errno@h DB 01H
__8C6AE390_vcruntime_string@h DB 01H
__8ACB2152_corecrt_memcpy_s@h DB 01H
__EA6C9D17_corecrt_memory@h DB 01H
__0DF2AF52_corecrt_wstring@h DB 01H
__6E889ECC_string@h DB 01H
__9BEDF4DE_guiddef@h DB 01H
__51BFD2FE_pshpack4@h DB 01H
__31652CEA_poppack@h DB 01H
__5532AE4C_pshpack2@h DB 01H
__58A52B9A_pshpack8@h DB 01H
__57741015_pshpack1@h DB 01H
__CDE68C90_apiset@h DB 01H
__0BF06E8D_ktmtypes@h DB 01H
__40C200C0_winnt@h DB 01H
__9336F789_minwindef@h DB 01H
__55136115_windef@h DB 01H
__32205BF0_apisetcconv@h DB 01H
__B48FDEA0_minwinbase@h DB 01H
__3551B028_apiquery2@h DB 01H
__65BE04AA_processenv@h DB 01H
__4767CA46_fileapi@h DB 01H
__282E6C4B_fileapifromapp@h DB 01H
__393AF12C_debugapi@h DB 01H
__EBC502B8_utilapiset@h DB 01H
__1EAD8C69_handleapi@h DB 01H
__D8EF9B29_errhandlingapi@h DB 01H
__97FC1204_fibersapi@h DB 01H
__27448220_namedpipeapi@h DB 01H
__6EA33B2A_profileapi@h DB 01H
__EAC6F673_heapapi@h DB 01H
__D64EEA5A_ioapiset@h DB 01H
__144BD4B6_synchapi@h DB 01H
__03B1C640_interlockedapi@h DB 01H
__DC64CB38_processthreadsapi@h DB 01H
__D719B518_sysinfoapi@h DB 01H
__410385B1_memoryapi@h DB 01H
__C1AD45EF_enclaveapi@h DB 01H
__F4C3AA32_threadpoollegacyapiset@h DB 01H
__AC5A7A9F_threadpoolapiset@h DB 01H
__F5254B21_jobapi@h DB 01H
__BCEA6EE8_jobapi2@h DB 01H
__D18ACE72_wow64apiset@h DB 01H
__669B0D4A_libloaderapi@h DB 01H
__645F7034_securitybaseapi@h DB 01H
__67E58557_namespaceapi@h DB 01H
__599D9D3A_systemtopologyapi@h DB 01H
__2337E373_processtopologyapi@h DB 01H
__02BFF239_securityappcontainer@h DB 01H
__9C196272_realtimeapiset@h DB 01H
__5AB313A4_winerror@h DB 01H
__B7E7187B_timezoneapi@h DB 01H
__6DE9EB6F_winbase@h DB 01H
__56B2AFF2_wingdi@h DB 01H
__BA1161A9_tvout@h DB 01H
__0501A018_winuser@h DB 01H
__EF12FA99_datetimeapi@h DB 01H
__8FA7C3CA_winnls@h DB 01H
__390F0C47_stringapiset@h DB 01H
__28605B0A_wincontypes@h DB 01H
__BFBDE86D_consoleapi@h DB 01H
__C3CAFBF0_consoleapi2@h DB 01H
__C20891C7_consoleapi3@h DB 01H
__717C98B6_wincon@h DB 01H
__2884C177_verrsrc@h DB 01H
__A3FD3A34_winver@h DB 01H
__6F8AD9F1_reason@h DB 01H
__4C90FD6F_winreg@h DB 01H
__68AFEBAD_wnnc@h DB 01H
__5A7AB086_winnetwk@h DB 01H
__2FE8A10C_stralign@h DB 01H
__34558472_winsvc@h DB 01H
__058845F1_mcx@h DB 01H
__7F16006B_ime_cmodes@h DB 01H
__0A3AF599_imm@h DB 01H
__9349FE86_windows@h DB 01H
__639A050C_sn_internal@h DB 01H
__836A8CFC_stdint@h DB 01H
__714FE6D7_sn_target@h DB 01H
__60B45B40_corecrt_stdio_config@h DB 01H
__CFA3741E_corecrt_wstdio@h DB 01H
__B3FE3303_stdio@h DB 01H
__955456CD_stddef@h DB 01H
__99AED4FB_corecrt_search@h DB 01H
__8B813BF6_corecrt_wstdlib@h DB 01H
__3D1CA2C3_limits@h DB 01H
__E8FB0A68_stdlib@h DB 01H
__F562FA57_stb_image@h DB 01H
__C95DC661_khrplatform@h DB 01H
__6C577136_gl@h DB 01H
__EE638A2C_wgl@h DB 01H
__8EF9E35C_glfw3@h DB 01H
__F8AC8404_emmintrin@h DB 01H
__270DEC8D_pmmintrin@h DB 01H
__97D49F0F_tmmintrin@h DB 01H
__BEEF8A8C_smmintrin@h DB 01H
__DB8D0340_nmmintrin@h DB 01H
__0E36F90E_wmmintrin@h DB 01H
__C5A2B409_zmmintrin@h DB 01H
__F2B616C3_immintrin@h DB 01H
__9FB25DBE_assert@h DB 01H
__4E664295_glfw_function@h DB 01H
__64C0EF11_StgSharpNative@h DB 01H
__F49407C4_sn_intrinsic@matkernel@h DB 01H
__47E843D2_intrin0@inl@h DB 01H
__130964FF_setjmp@h DB 01H
__4875F786_ammintrin@h DB 01H
__353FD888_intrin@h DB 01H
__5FE1E9E3_isa_availability@h DB 01H
__AA840D82_sn_intrinsic@h DB 01H
__E15488A2_vector@c DB 01H
msvcjmc ENDS
PUBLIC f32_normalize
PUBLIC __JustMyCode_Default
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
; COMDAT pdata
pdata SEGMENT
$pdata$f32_normalize DD imagerel $LN3
DD imagerel $LN3+417
DD imagerel $unwind$f32_normalize
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$f32_normalize DD 025051801H
DD 01132318H
DD 0700c0047H
DD 0500bH
xdata ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
00000 c2 00 00 ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\vector.c
; COMDAT f32_normalize
_TEXT SEGMENT
s$ = 16
a_length_sq$ = 64
a_inv_length$ = 112
dot_product$ = 160
b_orthogonal$ = 208
b_length_sq$ = 256
b_inv_length$ = 304
source$ = 560
target$ = 568
f32_normalize PROC ; COMDAT
; 5 : {
$LN3:
00000 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
00005 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000a 55 push rbp
0000b 57 push rdi
0000c 48 81 ec 38 02
00 00 sub rsp, 568 ; 00000238H
00013 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
00018 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__E15488A2_vector@c
0001f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00024 90 npad 1
; 6 : register __m128 s = _mm_load_ps(&source->f32_x);
00025 48 8b 85 30 02
00 00 mov rax, QWORD PTR source$[rbp]
0002c 0f 10 00 movups xmm0, XMMWORD PTR [rax]
0002f 0f 29 45 10 movaps XMMWORD PTR s$[rbp], xmm0
; 7 : register __m128 a_length_sq = _mm_mul_ps(s, s);
00033 0f 28 45 10 movaps xmm0, XMMWORD PTR s$[rbp]
00037 0f 59 45 10 mulps xmm0, XMMWORD PTR s$[rbp]
0003b 0f 29 45 40 movaps XMMWORD PTR a_length_sq$[rbp], xmm0
; 8 : a_length_sq = _mm_add_ps(a_length_sq,
0003f 0f 28 45 40 movaps xmm0, XMMWORD PTR a_length_sq$[rbp]
00043 0f c6 45 40 b1 shufps xmm0, XMMWORD PTR a_length_sq$[rbp], 177 ; 000000b1H
00048 0f 28 4d 40 movaps xmm1, XMMWORD PTR a_length_sq$[rbp]
0004c 0f 58 c8 addps xmm1, xmm0
0004f 0f 28 c1 movaps xmm0, xmm1
00052 0f 29 45 40 movaps XMMWORD PTR a_length_sq$[rbp], xmm0
; 9 : _mm_shuffle_ps(a_length_sq, a_length_sq, _MM_SHUFFLE(2, 3, 0, 1)));
; 10 : a_length_sq = _mm_add_ss(a_length_sq,
00056 0f 28 45 40 movaps xmm0, XMMWORD PTR a_length_sq$[rbp]
0005a 0f c6 45 40 0e shufps xmm0, XMMWORD PTR a_length_sq$[rbp], 14
0005f 0f 28 4d 40 movaps xmm1, XMMWORD PTR a_length_sq$[rbp]
00063 f3 0f 58 c8 addss xmm1, xmm0
00067 0f 29 4d 40 movaps XMMWORD PTR a_length_sq$[rbp], xmm1
; 11 : _mm_shuffle_ps(a_length_sq, a_length_sq, _MM_SHUFFLE(0, 0, 3, 2)));
; 12 :
; 13 : __m128 a_inv_length = _mm_rsqrt_ps(a_length_sq);
0006b 0f 52 45 40 rsqrtps xmm0, XMMWORD PTR a_length_sq$[rbp]
0006f 0f 29 45 70 movaps XMMWORD PTR a_inv_length$[rbp], xmm0
; 14 : s = _mm_mul_ps(s, a_inv_length);
00073 0f 28 45 10 movaps xmm0, XMMWORD PTR s$[rbp]
00077 0f 59 45 70 mulps xmm0, XMMWORD PTR a_inv_length$[rbp]
0007b 0f 29 45 10 movaps XMMWORD PTR s$[rbp], xmm0
; 15 :
; 16 : __m128 dot_product = _mm_mul_ps(target->f32_x[0], s);
0007f b8 10 00 00 00 mov eax, 16
00084 48 6b c0 00 imul rax, rax, 0
00088 48 8b 8d 38 02
00 00 mov rcx, QWORD PTR target$[rbp]
0008f 0f 10 04 01 movups xmm0, XMMWORD PTR [rcx+rax]
00093 0f 59 45 10 mulps xmm0, XMMWORD PTR s$[rbp]
00097 0f 29 85 a0 00
00 00 movaps XMMWORD PTR dot_product$[rbp], xmm0
; 17 : dot_product = _mm_add_ps(dot_product,
0009e 0f 28 85 a0 00
00 00 movaps xmm0, XMMWORD PTR dot_product$[rbp]
000a5 0f c6 85 a0 00
00 00 b1 shufps xmm0, XMMWORD PTR dot_product$[rbp], 177 ; 000000b1H
000ad 0f 28 8d a0 00
00 00 movaps xmm1, XMMWORD PTR dot_product$[rbp]
000b4 0f 58 c8 addps xmm1, xmm0
000b7 0f 28 c1 movaps xmm0, xmm1
000ba 0f 29 85 a0 00
00 00 movaps XMMWORD PTR dot_product$[rbp], xmm0
; 18 : _mm_shuffle_ps(dot_product, dot_product, _MM_SHUFFLE(2, 3, 0, 1)));
; 19 : dot_product = _mm_add_ss(dot_product,
000c1 0f 28 85 a0 00
00 00 movaps xmm0, XMMWORD PTR dot_product$[rbp]
000c8 0f c6 85 a0 00
00 00 0e shufps xmm0, XMMWORD PTR dot_product$[rbp], 14
000d0 0f 28 8d a0 00
00 00 movaps xmm1, XMMWORD PTR dot_product$[rbp]
000d7 f3 0f 58 c8 addss xmm1, xmm0
000db 0f 29 8d a0 00
00 00 movaps XMMWORD PTR dot_product$[rbp], xmm1
; 20 : _mm_shuffle_ps(dot_product, dot_product, _MM_SHUFFLE(0, 0, 3, 2)));
; 21 :
; 22 : __m128 b_orthogonal = _mm_sub_ps(target->f32_x[0], _mm_mul_ps(s, dot_product));
000e2 0f 28 45 10 movaps xmm0, XMMWORD PTR s$[rbp]
000e6 0f 59 85 a0 00
00 00 mulps xmm0, XMMWORD PTR dot_product$[rbp]
000ed b8 10 00 00 00 mov eax, 16
000f2 48 6b c0 00 imul rax, rax, 0
000f6 48 8b 8d 38 02
00 00 mov rcx, QWORD PTR target$[rbp]
000fd 0f 10 0c 01 movups xmm1, XMMWORD PTR [rcx+rax]
00101 0f 5c c8 subps xmm1, xmm0
00104 0f 28 c1 movaps xmm0, xmm1
00107 0f 29 85 d0 00
00 00 movaps XMMWORD PTR b_orthogonal$[rbp], xmm0
; 23 :
; 24 : __m128 b_length_sq = _mm_mul_ps(b_orthogonal, b_orthogonal);
0010e 0f 28 85 d0 00
00 00 movaps xmm0, XMMWORD PTR b_orthogonal$[rbp]
00115 0f 59 85 d0 00
00 00 mulps xmm0, XMMWORD PTR b_orthogonal$[rbp]
0011c 0f 29 85 00 01
00 00 movaps XMMWORD PTR b_length_sq$[rbp], xmm0
; 25 : b_length_sq = _mm_add_ps(b_length_sq,
00123 0f 28 85 00 01
00 00 movaps xmm0, XMMWORD PTR b_length_sq$[rbp]
0012a 0f c6 85 00 01
00 00 b1 shufps xmm0, XMMWORD PTR b_length_sq$[rbp], 177 ; 000000b1H
00132 0f 28 8d 00 01
00 00 movaps xmm1, XMMWORD PTR b_length_sq$[rbp]
00139 0f 58 c8 addps xmm1, xmm0
0013c 0f 28 c1 movaps xmm0, xmm1
0013f 0f 29 85 00 01
00 00 movaps XMMWORD PTR b_length_sq$[rbp], xmm0
; 26 : _mm_shuffle_ps(b_length_sq, b_length_sq, _MM_SHUFFLE(2, 3, 0, 1)));
; 27 : b_length_sq = _mm_add_ss(b_length_sq,
00146 0f 28 85 00 01
00 00 movaps xmm0, XMMWORD PTR b_length_sq$[rbp]
0014d 0f c6 85 00 01
00 00 0e shufps xmm0, XMMWORD PTR b_length_sq$[rbp], 14
00155 0f 28 8d 00 01
00 00 movaps xmm1, XMMWORD PTR b_length_sq$[rbp]
0015c f3 0f 58 c8 addss xmm1, xmm0
00160 0f 29 8d 00 01
00 00 movaps XMMWORD PTR b_length_sq$[rbp], xmm1
; 28 : _mm_shuffle_ps(b_length_sq, b_length_sq, _MM_SHUFFLE(0, 0, 3, 2)));
; 29 :
; 30 : __m128 b_inv_length = _mm_rsqrt_ps(b_length_sq);
00167 0f 52 85 00 01
00 00 rsqrtps xmm0, XMMWORD PTR b_length_sq$[rbp]
0016e 0f 29 85 30 01
00 00 movaps XMMWORD PTR b_inv_length$[rbp], xmm0
; 31 : target->f32_x[0] = _mm_mul_ps(b_orthogonal, b_inv_length);
00175 0f 28 85 d0 00
00 00 movaps xmm0, XMMWORD PTR b_orthogonal$[rbp]
0017c 0f 59 85 30 01
00 00 mulps xmm0, XMMWORD PTR b_inv_length$[rbp]
00183 b8 10 00 00 00 mov eax, 16
00188 48 6b c0 00 imul rax, rax, 0
0018c 48 8b 8d 38 02
00 00 mov rcx, QWORD PTR target$[rbp]
00193 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 32 : }
00197 48 8d a5 18 02
00 00 lea rsp, QWORD PTR [rbp+536]
0019e 5f pop rdi
0019f 5d pop rbp
001a0 c3 ret 0
f32_normalize ENDP
_TEXT ENDS
END
@@ -1,123 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/vector.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "b2baa9377820c94a8ddf40982e0e58c55c1085f8fec5736edf2255f3a62890c1"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "94ca202415b5a633ad79580db19ae2b7def151b2e3f5d2dcaa341cfe934a5b0c"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.
@@ -1,844 +0,0 @@
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.44.35220.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM infolog:BYTE:0200H
_DATA ENDS
msvcjmc SEGMENT
__5C8CA4D3_mmintrin@h DB 01H
__8C83BECC_concurrencysal@h DB 01H
__608E3340_sal@h DB 01H
__FB67E29A_vadefs@h DB 01H
__1D1B619C_vcruntime@h DB 01H
__735960E1_corecrt@h DB 01H
__211DB995_corecrt_malloc@h DB 01H
__7CD62D9E_malloc@h DB 01H
__9DCE0DC8_xmmintrin@h DB 01H
__4C2AD0C7_winpackagefamily@h DB 01H
__9DED9ED1_winapifamily@h DB 01H
__12FEDF4E_sdkddkver@h DB 01H
__9BAEE128_excpt@h DB 01H
__B7B53233_stdarg@h DB 01H
__6B04FCB3_specstrings_undef@h DB 01H
__F4027AF7_specstrings_strict@h DB 01H
__B90340D4_sdv_driverspecs@h DB 01H
__BFFF5AD3_driverspecs@h DB 01H
__32847078_specstrings@h DB 01H
__108B2620_corecrt_wctype@h DB 01H
__6CD6613D_ctype@h DB 01H
__30902A1F_kernelspecs@h DB 01H
__376FD5CA_basetsd@h DB 01H
__13DE2371_errno@h DB 01H
__8C6AE390_vcruntime_string@h DB 01H
__8ACB2152_corecrt_memcpy_s@h DB 01H
__EA6C9D17_corecrt_memory@h DB 01H
__0DF2AF52_corecrt_wstring@h DB 01H
__6E889ECC_string@h DB 01H
__9BEDF4DE_guiddef@h DB 01H
__51BFD2FE_pshpack4@h DB 01H
__31652CEA_poppack@h DB 01H
__5532AE4C_pshpack2@h DB 01H
__58A52B9A_pshpack8@h DB 01H
__57741015_pshpack1@h DB 01H
__CDE68C90_apiset@h DB 01H
__0BF06E8D_ktmtypes@h DB 01H
__40C200C0_winnt@h DB 01H
__9336F789_minwindef@h DB 01H
__55136115_windef@h DB 01H
__32205BF0_apisetcconv@h DB 01H
__B48FDEA0_minwinbase@h DB 01H
__3551B028_apiquery2@h DB 01H
__65BE04AA_processenv@h DB 01H
__4767CA46_fileapi@h DB 01H
__282E6C4B_fileapifromapp@h DB 01H
__393AF12C_debugapi@h DB 01H
__EBC502B8_utilapiset@h DB 01H
__1EAD8C69_handleapi@h DB 01H
__D8EF9B29_errhandlingapi@h DB 01H
__97FC1204_fibersapi@h DB 01H
__27448220_namedpipeapi@h DB 01H
__6EA33B2A_profileapi@h DB 01H
__EAC6F673_heapapi@h DB 01H
__D64EEA5A_ioapiset@h DB 01H
__144BD4B6_synchapi@h DB 01H
__03B1C640_interlockedapi@h DB 01H
__DC64CB38_processthreadsapi@h DB 01H
__D719B518_sysinfoapi@h DB 01H
__410385B1_memoryapi@h DB 01H
__C1AD45EF_enclaveapi@h DB 01H
__F4C3AA32_threadpoollegacyapiset@h DB 01H
__AC5A7A9F_threadpoolapiset@h DB 01H
__F5254B21_jobapi@h DB 01H
__BCEA6EE8_jobapi2@h DB 01H
__D18ACE72_wow64apiset@h DB 01H
__669B0D4A_libloaderapi@h DB 01H
__645F7034_securitybaseapi@h DB 01H
__67E58557_namespaceapi@h DB 01H
__599D9D3A_systemtopologyapi@h DB 01H
__2337E373_processtopologyapi@h DB 01H
__02BFF239_securityappcontainer@h DB 01H
__9C196272_realtimeapiset@h DB 01H
__5AB313A4_winerror@h DB 01H
__B7E7187B_timezoneapi@h DB 01H
__6DE9EB6F_winbase@h DB 01H
__56B2AFF2_wingdi@h DB 01H
__BA1161A9_tvout@h DB 01H
__0501A018_winuser@h DB 01H
__EF12FA99_datetimeapi@h DB 01H
__8FA7C3CA_winnls@h DB 01H
__390F0C47_stringapiset@h DB 01H
__28605B0A_wincontypes@h DB 01H
__BFBDE86D_consoleapi@h DB 01H
__C3CAFBF0_consoleapi2@h DB 01H
__C20891C7_consoleapi3@h DB 01H
__717C98B6_wincon@h DB 01H
__2884C177_verrsrc@h DB 01H
__A3FD3A34_winver@h DB 01H
__6F8AD9F1_reason@h DB 01H
__4C90FD6F_winreg@h DB 01H
__68AFEBAD_wnnc@h DB 01H
__5A7AB086_winnetwk@h DB 01H
__2FE8A10C_stralign@h DB 01H
__34558472_winsvc@h DB 01H
__058845F1_mcx@h DB 01H
__7F16006B_ime_cmodes@h DB 01H
__0A3AF599_imm@h DB 01H
__9349FE86_windows@h DB 01H
__639A050C_sn_internal@h DB 01H
__836A8CFC_stdint@h DB 01H
__714FE6D7_sn_target@h DB 01H
__60B45B40_corecrt_stdio_config@h DB 01H
__CFA3741E_corecrt_wstdio@h DB 01H
__B3FE3303_stdio@h DB 01H
__955456CD_stddef@h DB 01H
__99AED4FB_corecrt_search@h DB 01H
__8B813BF6_corecrt_wstdlib@h DB 01H
__3D1CA2C3_limits@h DB 01H
__E8FB0A68_stdlib@h DB 01H
__F562FA57_stb_image@h DB 01H
__C95DC661_khrplatform@h DB 01H
__6C577136_gl@h DB 01H
__EE638A2C_wgl@h DB 01H
__8EF9E35C_glfw3@h DB 01H
__F8AC8404_emmintrin@h DB 01H
__270DEC8D_pmmintrin@h DB 01H
__97D49F0F_tmmintrin@h DB 01H
__BEEF8A8C_smmintrin@h DB 01H
__DB8D0340_nmmintrin@h DB 01H
__0E36F90E_wmmintrin@h DB 01H
__C5A2B409_zmmintrin@h DB 01H
__F2B616C3_immintrin@h DB 01H
__9FB25DBE_assert@h DB 01H
__4E664295_glfw_function@h DB 01H
__64C0EF11_StgSharpNative@h DB 01H
__F49407C4_sn_intrinsic@matkernel@h DB 01H
__47E843D2_intrin0@inl@h DB 01H
__130964FF_setjmp@h DB 01H
__4875F786_ammintrin@h DB 01H
__353FD888_intrin@h DB 01H
__5FE1E9E3_isa_availability@h DB 01H
__AA840D82_sn_intrinsic@h DB 01H
__9CC1CD6B_vector_dot@c DB 01H
msvcjmc ENDS
CONST SEGMENT
avxdot_indices DD 00H
DD 04H
DD 01H
DD 05H
DD 02H
DD 03H
DD 06H
DD 07H
CONST ENDS
PUBLIC dot_41_sse
PUBLIC dot_41_avx
PUBLIC dot_42_sse
PUBLIC dot_42_avx
PUBLIC __JustMyCode_Default
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
; COMDAT pdata
pdata SEGMENT
$pdata$dot_41_sse DD imagerel $LN3
DD imagerel $LN3+281
DD imagerel $unwind$dot_41_sse
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$dot_41_avx DD imagerel $LN3
DD imagerel $LN3+215
DD imagerel $unwind$dot_41_avx
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$dot_42_sse DD imagerel $LN3
DD imagerel $LN3+678
DD imagerel $unwind$dot_42_sse
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$dot_42_avx DD imagerel $LN3
DD imagerel $LN3+446
DD imagerel $unwind$dot_42_avx
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$dot_42_avx DD 02d062801H
DD 011a231fH
DD 07013003aH
DD 0d0115012H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$dot_42_sse DD 025051d01H
DD 0118231dH
DD 07011001dH
DD 05010H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$dot_41_avx DD 02d062801H
DD 011a231fH
DD 070130032H
DD 0d0115012H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$dot_41_sse DD 025051d01H
DD 0118231dH
DD 07011001dH
DD 05010H
xdata ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
00000 c2 00 00 ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\vector_dot.c
; COMDAT dot_42_avx
_TEXT SEGMENT
temp$ = 32
vector_stream$ = 96
result$ = 160
transpose$ = 464
vector$ = 472
ans$ = 480
dot_42_avx PROC ; COMDAT
; 51 : {
$LN3:
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000f 41 55 push r13
00011 55 push rbp
00012 57 push rdi
00013 48 81 ec d0 01
00 00 sub rsp, 464 ; 000001d0H
0001a 4c 8d 6c 24 20 lea r13, QWORD PTR [rsp+32]
0001f 48 8d 6c 24 40 lea rbp, QWORD PTR [rsp+64]
00024 48 83 e5 e0 and rbp, -32 ; ffffffffffffffe0H
00028 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__9CC1CD6B_vector_dot@c
0002f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00034 90 npad 1
; 52 : __m256 temp = transpose->f32_y[0];
00035 b8 20 00 00 00 mov eax, 32 ; 00000020H
0003a 48 6b c0 00 imul rax, rax, 0
0003e 49 8b 8d d0 01
00 00 mov rcx, QWORD PTR transpose$[r13]
00045 c5 fc 10 04 01 vmovups ymm0, YMMWORD PTR [rcx+rax]
0004a c5 fc 11 45 20 vmovups YMMWORD PTR temp$[rbp], ymm0
; 53 : __m256 vector_stream = _mm256_set_m128(vector[1], vector[0]);
0004f b8 10 00 00 00 mov eax, 16
00054 48 6b c0 01 imul rax, rax, 1
00058 b9 10 00 00 00 mov ecx, 16
0005d 48 6b c9 00 imul rcx, rcx, 0
00061 49 8b 95 d8 01
00 00 mov rdx, QWORD PTR vector$[r13]
00068 c5 f8 10 04 0a vmovups xmm0, XMMWORD PTR [rdx+rcx]
0006d 49 8b 8d d8 01
00 00 mov rcx, QWORD PTR vector$[r13]
00074 c4 e3 7d 18 04
01 01 vinsertf128 ymm0, ymm0, XMMWORD PTR [rcx+rax], 1
0007b c5 fc 11 45 60 vmovups YMMWORD PTR vector_stream$[rbp], ymm0
; 54 :
; 55 : __m256 result = _mm256_dp_ps(temp, vector_stream, 0B11110001);
00080 c5 fc 10 45 20 vmovups ymm0, YMMWORD PTR temp$[rbp]
00085 c4 e3 7d 40 45
60 f1 vdpps ymm0, ymm0, YMMWORD PTR vector_stream$[rbp], 241 ; 000000f1H
0008c c5 fc 11 85 a0
00 00 00 vmovups YMMWORD PTR result$[rbp], ymm0
; 56 : temp = _mm256_permute2f128_ps(temp, temp, 0B00000001);
00094 c5 fc 10 45 20 vmovups ymm0, YMMWORD PTR temp$[rbp]
00099 c4 e3 7d 06 45
20 01 vperm2f128 ymm0, ymm0, YMMWORD PTR temp$[rbp], 1
000a0 c5 fc 11 45 20 vmovups YMMWORD PTR temp$[rbp], ymm0
; 57 : result = _mm256_blend_ps(result, _mm256_dp_ps(temp, vector_stream, 0B11110010), 0B00100010);
000a5 c5 fc 10 45 20 vmovups ymm0, YMMWORD PTR temp$[rbp]
000aa c4 e3 7d 40 45
60 f2 vdpps ymm0, ymm0, YMMWORD PTR vector_stream$[rbp], 242 ; 000000f2H
000b1 c5 fc 10 8d a0
00 00 00 vmovups ymm1, YMMWORD PTR result$[rbp]
000b9 c4 e3 75 0c c0
22 vblendps ymm0, ymm1, ymm0, 34 ; 00000022H
000bf c5 fc 11 85 a0
00 00 00 vmovups YMMWORD PTR result$[rbp], ymm0
; 58 :
; 59 : temp = transpose->f32_y[1];
000c7 b8 20 00 00 00 mov eax, 32 ; 00000020H
000cc 48 6b c0 01 imul rax, rax, 1
000d0 49 8b 8d d0 01
00 00 mov rcx, QWORD PTR transpose$[r13]
000d7 c5 fc 10 04 01 vmovups ymm0, YMMWORD PTR [rcx+rax]
000dc c5 fc 11 45 20 vmovups YMMWORD PTR temp$[rbp], ymm0
; 60 : result = _mm256_blend_ps(result, _mm256_dp_ps(temp, vector_stream, 0B11110100), 0B01000100);
000e1 c5 fc 10 45 20 vmovups ymm0, YMMWORD PTR temp$[rbp]
000e6 c4 e3 7d 40 45
60 f4 vdpps ymm0, ymm0, YMMWORD PTR vector_stream$[rbp], 244 ; 000000f4H
000ed c5 fc 10 8d a0
00 00 00 vmovups ymm1, YMMWORD PTR result$[rbp]
000f5 c4 e3 75 0c c0
44 vblendps ymm0, ymm1, ymm0, 68 ; 00000044H
000fb c5 fc 11 85 a0
00 00 00 vmovups YMMWORD PTR result$[rbp], ymm0
; 61 : temp = _mm256_permute2f128_ps(temp, temp, 0B00000001);
00103 c5 fc 10 45 20 vmovups ymm0, YMMWORD PTR temp$[rbp]
00108 c4 e3 7d 06 45
20 01 vperm2f128 ymm0, ymm0, YMMWORD PTR temp$[rbp], 1
0010f c5 fc 11 45 20 vmovups YMMWORD PTR temp$[rbp], ymm0
; 62 : result = _mm256_blend_ps(result, _mm256_dp_ps(temp, vector_stream, 0B11111000), 0B10001000);
00114 c5 fc 10 45 20 vmovups ymm0, YMMWORD PTR temp$[rbp]
00119 c4 e3 7d 40 45
60 f8 vdpps ymm0, ymm0, YMMWORD PTR vector_stream$[rbp], 248 ; 000000f8H
00120 c5 fc 10 8d a0
00 00 00 vmovups ymm1, YMMWORD PTR result$[rbp]
00128 c4 e3 75 0c c0
88 vblendps ymm0, ymm1, ymm0, 136 ; 00000088H
0012e c5 fc 11 85 a0
00 00 00 vmovups YMMWORD PTR result$[rbp], ymm0
; 63 :
; 64 : ans[0] = _mm256_castps256_ps128(result);
00136 c5 f8 10 85 a0
00 00 00 vmovups xmm0, XMMWORD PTR result$[rbp]
0013e b8 10 00 00 00 mov eax, 16
00143 48 6b c0 00 imul rax, rax, 0
00147 49 8b 8d e0 01
00 00 mov rcx, QWORD PTR ans$[r13]
0014e 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 65 : ans[1] = _mm256_extractf128_ps(result, 1);
00152 c5 fc 10 85 a0
00 00 00 vmovups ymm0, YMMWORD PTR result$[rbp]
0015a c4 e3 7d 19 c0
01 vextractf128 xmm0, ymm0, 1
00160 b8 10 00 00 00 mov eax, 16
00165 48 6b c0 01 imul rax, rax, 1
00169 49 8b 8d e0 01
00 00 mov rcx, QWORD PTR ans$[r13]
00170 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 66 : ans[1] = _mm_shuffle_ps(ans[1], ans[1], _MM_SHUFFLE(2, 3, 0, 1));
00174 b8 10 00 00 00 mov eax, 16
00179 48 6b c0 01 imul rax, rax, 1
0017d b9 10 00 00 00 mov ecx, 16
00182 48 6b c9 01 imul rcx, rcx, 1
00186 49 8b 95 e0 01
00 00 mov rdx, QWORD PTR ans$[r13]
0018d 4d 8b 85 e0 01
00 00 mov r8, QWORD PTR ans$[r13]
00194 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
00198 41 0f c6 04 00
b1 shufps xmm0, XMMWORD PTR [r8+rax], 177 ; 000000b1H
0019e b8 10 00 00 00 mov eax, 16
001a3 48 6b c0 01 imul rax, rax, 1
001a7 49 8b 8d e0 01
00 00 mov rcx, QWORD PTR ans$[r13]
001ae 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 67 : }
001b2 49 8d a5 b0 01
00 00 lea rsp, QWORD PTR [r13+432]
001b9 5f pop rdi
001ba 5d pop rbp
001bb 41 5d pop r13
001bd c3 ret 0
dot_42_avx ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\vector_dot.c
; COMDAT dot_42_sse
_TEXT SEGMENT
transpose$ = 224
vector$ = 232
ans$ = 240
dot_42_sse PROC ; COMDAT
; 31 : {
$LN3:
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000f 55 push rbp
00010 57 push rdi
00011 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__9CC1CD6B_vector_dot@c
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00029 90 npad 1
; 32 : ans[0] = _mm_dp_ps(transpose->f32_x[0], vector[0], 0B11110001);
0002a b8 10 00 00 00 mov eax, 16
0002f 48 6b c0 00 imul rax, rax, 0
00033 b9 10 00 00 00 mov ecx, 16
00038 48 6b c9 00 imul rcx, rcx, 0
0003c 48 8b 95 e0 00
00 00 mov rdx, QWORD PTR transpose$[rbp]
00043 4c 8b 85 e8 00
00 00 mov r8, QWORD PTR vector$[rbp]
0004a 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
0004e 66 41 0f 3a 40
04 00 f1 dpps xmm0, XMMWORD PTR [r8+rax], 241 ; 000000f1H
00056 b8 10 00 00 00 mov eax, 16
0005b 48 6b c0 00 imul rax, rax, 0
0005f 48 8b 8d f0 00
00 00 mov rcx, QWORD PTR ans$[rbp]
00066 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 33 : ans[0] = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[1], vector[0], 0B11110001),
0006a b8 10 00 00 00 mov eax, 16
0006f 48 6b c0 00 imul rax, rax, 0
00073 b9 10 00 00 00 mov ecx, 16
00078 48 6b c9 01 imul rcx, rcx, 1
0007c 48 8b 95 e0 00
00 00 mov rdx, QWORD PTR transpose$[rbp]
00083 4c 8b 85 e8 00
00 00 mov r8, QWORD PTR vector$[rbp]
0008a 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
0008e 66 41 0f 3a 40
04 00 f1 dpps xmm0, XMMWORD PTR [r8+rax], 241 ; 000000f1H
00096 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
0009d 0f 10 08 movups xmm1, XMMWORD PTR [rax]
000a0 66 0f 3a 21 c8
10 insertps xmm1, xmm0, 16
000a6 0f 28 c1 movaps xmm0, xmm1
000a9 b8 10 00 00 00 mov eax, 16
000ae 48 6b c0 00 imul rax, rax, 0
000b2 48 8b 8d f0 00
00 00 mov rcx, QWORD PTR ans$[rbp]
000b9 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 34 : SSE_INSERT_SIMPLE(1, 2));
; 35 : ans[0] = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[2], vector[0], 0B11110001),
000bd b8 10 00 00 00 mov eax, 16
000c2 48 6b c0 00 imul rax, rax, 0
000c6 b9 10 00 00 00 mov ecx, 16
000cb 48 6b c9 02 imul rcx, rcx, 2
000cf 48 8b 95 e0 00
00 00 mov rdx, QWORD PTR transpose$[rbp]
000d6 4c 8b 85 e8 00
00 00 mov r8, QWORD PTR vector$[rbp]
000dd 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
000e1 66 41 0f 3a 40
04 00 f1 dpps xmm0, XMMWORD PTR [r8+rax], 241 ; 000000f1H
000e9 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
000f0 0f 10 08 movups xmm1, XMMWORD PTR [rax]
000f3 66 0f 3a 21 c8
20 insertps xmm1, xmm0, 32 ; 00000020H
000f9 0f 28 c1 movaps xmm0, xmm1
000fc b8 10 00 00 00 mov eax, 16
00101 48 6b c0 00 imul rax, rax, 0
00105 48 8b 8d f0 00
00 00 mov rcx, QWORD PTR ans$[rbp]
0010c 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 36 : SSE_INSERT_SIMPLE(1, 3));
; 37 : ans[0] = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[3], vector[0], 0B11110001),
00110 b8 10 00 00 00 mov eax, 16
00115 48 6b c0 00 imul rax, rax, 0
00119 b9 10 00 00 00 mov ecx, 16
0011e 48 6b c9 03 imul rcx, rcx, 3
00122 48 8b 95 e0 00
00 00 mov rdx, QWORD PTR transpose$[rbp]
00129 4c 8b 85 e8 00
00 00 mov r8, QWORD PTR vector$[rbp]
00130 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
00134 66 41 0f 3a 40
04 00 f1 dpps xmm0, XMMWORD PTR [r8+rax], 241 ; 000000f1H
0013c 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
00143 0f 10 08 movups xmm1, XMMWORD PTR [rax]
00146 66 0f 3a 21 c8
30 insertps xmm1, xmm0, 48 ; 00000030H
0014c 0f 28 c1 movaps xmm0, xmm1
0014f b8 10 00 00 00 mov eax, 16
00154 48 6b c0 00 imul rax, rax, 0
00158 48 8b 8d f0 00
00 00 mov rcx, QWORD PTR ans$[rbp]
0015f 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 38 : SSE_INSERT_SIMPLE(1, 4));
; 39 :
; 40 : ans[1] = _mm_dp_ps(transpose->f32_x[0], vector[1], 0B11110001);
00163 b8 10 00 00 00 mov eax, 16
00168 48 6b c0 01 imul rax, rax, 1
0016c b9 10 00 00 00 mov ecx, 16
00171 48 6b c9 00 imul rcx, rcx, 0
00175 48 8b 95 e0 00
00 00 mov rdx, QWORD PTR transpose$[rbp]
0017c 4c 8b 85 e8 00
00 00 mov r8, QWORD PTR vector$[rbp]
00183 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
00187 66 41 0f 3a 40
04 00 f1 dpps xmm0, XMMWORD PTR [r8+rax], 241 ; 000000f1H
0018f b8 10 00 00 00 mov eax, 16
00194 48 6b c0 01 imul rax, rax, 1
00198 48 8b 8d f0 00
00 00 mov rcx, QWORD PTR ans$[rbp]
0019f 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 41 : ans[1] = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[1], vector[1], 0B11110001),
001a3 b8 10 00 00 00 mov eax, 16
001a8 48 6b c0 01 imul rax, rax, 1
001ac b9 10 00 00 00 mov ecx, 16
001b1 48 6b c9 01 imul rcx, rcx, 1
001b5 48 8b 95 e0 00
00 00 mov rdx, QWORD PTR transpose$[rbp]
001bc 4c 8b 85 e8 00
00 00 mov r8, QWORD PTR vector$[rbp]
001c3 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
001c7 66 41 0f 3a 40
04 00 f1 dpps xmm0, XMMWORD PTR [r8+rax], 241 ; 000000f1H
001cf 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
001d6 0f 10 08 movups xmm1, XMMWORD PTR [rax]
001d9 66 0f 3a 21 c8
10 insertps xmm1, xmm0, 16
001df 0f 28 c1 movaps xmm0, xmm1
001e2 b8 10 00 00 00 mov eax, 16
001e7 48 6b c0 01 imul rax, rax, 1
001eb 48 8b 8d f0 00
00 00 mov rcx, QWORD PTR ans$[rbp]
001f2 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 42 : SSE_INSERT_SIMPLE(1, 2));
; 43 : ans[1] = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[2], vector[1], 0B11110001),
001f6 b8 10 00 00 00 mov eax, 16
001fb 48 6b c0 01 imul rax, rax, 1
001ff b9 10 00 00 00 mov ecx, 16
00204 48 6b c9 02 imul rcx, rcx, 2
00208 48 8b 95 e0 00
00 00 mov rdx, QWORD PTR transpose$[rbp]
0020f 4c 8b 85 e8 00
00 00 mov r8, QWORD PTR vector$[rbp]
00216 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
0021a 66 41 0f 3a 40
04 00 f1 dpps xmm0, XMMWORD PTR [r8+rax], 241 ; 000000f1H
00222 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
00229 0f 10 08 movups xmm1, XMMWORD PTR [rax]
0022c 66 0f 3a 21 c8
20 insertps xmm1, xmm0, 32 ; 00000020H
00232 0f 28 c1 movaps xmm0, xmm1
00235 b8 10 00 00 00 mov eax, 16
0023a 48 6b c0 01 imul rax, rax, 1
0023e 48 8b 8d f0 00
00 00 mov rcx, QWORD PTR ans$[rbp]
00245 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 44 : SSE_INSERT_SIMPLE(1, 3));
; 45 : ans[1] = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[3], vector[1], 0B11110001),
00249 b8 10 00 00 00 mov eax, 16
0024e 48 6b c0 01 imul rax, rax, 1
00252 b9 10 00 00 00 mov ecx, 16
00257 48 6b c9 03 imul rcx, rcx, 3
0025b 48 8b 95 e0 00
00 00 mov rdx, QWORD PTR transpose$[rbp]
00262 4c 8b 85 e8 00
00 00 mov r8, QWORD PTR vector$[rbp]
00269 0f 10 04 0a movups xmm0, XMMWORD PTR [rdx+rcx]
0026d 66 41 0f 3a 40
04 00 f1 dpps xmm0, XMMWORD PTR [r8+rax], 241 ; 000000f1H
00275 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
0027c 0f 10 08 movups xmm1, XMMWORD PTR [rax]
0027f 66 0f 3a 21 c8
30 insertps xmm1, xmm0, 48 ; 00000030H
00285 0f 28 c1 movaps xmm0, xmm1
00288 b8 10 00 00 00 mov eax, 16
0028d 48 6b c0 01 imul rax, rax, 1
00291 48 8b 8d f0 00
00 00 mov rcx, QWORD PTR ans$[rbp]
00298 0f 11 04 01 movups XMMWORD PTR [rcx+rax], xmm0
; 46 : SSE_INSERT_SIMPLE(1, 4));
; 47 : }
0029c 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
002a3 5f pop rdi
002a4 5d pop rbp
002a5 c3 ret 0
dot_42_sse ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\vector_dot.c
; COMDAT dot_41_avx
_TEXT SEGMENT
_double$ = 32
tmp$ = 96
transpose$ = 400
vector$ = 408
ans$ = 416
dot_41_avx PROC ; COMDAT
; 20 : {
$LN3:
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000f 41 55 push r13
00011 55 push rbp
00012 57 push rdi
00013 48 81 ec 90 01
00 00 sub rsp, 400 ; 00000190H
0001a 4c 8d 6c 24 20 lea r13, QWORD PTR [rsp+32]
0001f 48 8d 6c 24 40 lea rbp, QWORD PTR [rsp+64]
00024 48 83 e5 e0 and rbp, -32 ; ffffffffffffffe0H
00028 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__9CC1CD6B_vector_dot@c
0002f e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00034 90 npad 1
; 21 : __m256 _double = _mm256_set_m128(vector[0], vector[0]);
00035 b8 10 00 00 00 mov eax, 16
0003a 48 6b c0 00 imul rax, rax, 0
0003e b9 10 00 00 00 mov ecx, 16
00043 48 6b c9 00 imul rcx, rcx, 0
00047 49 8b 95 98 01
00 00 mov rdx, QWORD PTR vector$[r13]
0004e c5 f8 10 04 0a vmovups xmm0, XMMWORD PTR [rdx+rcx]
00053 49 8b 8d 98 01
00 00 mov rcx, QWORD PTR vector$[r13]
0005a c4 e3 7d 18 04
01 01 vinsertf128 ymm0, ymm0, XMMWORD PTR [rcx+rax], 1
00061 c5 fc 11 45 20 vmovups YMMWORD PTR _double$[rbp], ymm0
; 22 : __m256 tmp = _mm256_dp_ps(transpose->f32_y[0], _double, 0B11110001);
00066 b8 20 00 00 00 mov eax, 32 ; 00000020H
0006b 48 6b c0 00 imul rax, rax, 0
0006f 49 8b 8d 90 01
00 00 mov rcx, QWORD PTR transpose$[r13]
00076 c5 fc 10 04 01 vmovups ymm0, YMMWORD PTR [rcx+rax]
0007b c4 e3 7d 40 45
20 f1 vdpps ymm0, ymm0, YMMWORD PTR _double$[rbp], 241 ; 000000f1H
00082 c5 fc 11 45 60 vmovups YMMWORD PTR tmp$[rbp], ymm0
; 23 : tmp = _mm256_blend_ps(tmp, _mm256_dp_ps(transpose->f32_y[0], _double, 0B11110010),
00087 b8 20 00 00 00 mov eax, 32 ; 00000020H
0008c 48 6b c0 00 imul rax, rax, 0
00090 49 8b 8d 90 01
00 00 mov rcx, QWORD PTR transpose$[r13]
00097 c5 fc 10 04 01 vmovups ymm0, YMMWORD PTR [rcx+rax]
0009c c4 e3 7d 40 45
20 f2 vdpps ymm0, ymm0, YMMWORD PTR _double$[rbp], 242 ; 000000f2H
000a3 c5 fc 10 4d 60 vmovups ymm1, YMMWORD PTR tmp$[rbp]
000a8 c4 e3 75 0c c0
22 vblendps ymm0, ymm1, ymm0, 34 ; 00000022H
000ae c5 fc 11 45 60 vmovups YMMWORD PTR tmp$[rbp], ymm0
; 24 : 0B00100010);
; 25 : *ans = _mm256_castps256_ps128(
000b3 c5 fe 6f 05 00
00 00 00 vmovdqu ymm0, YMMWORD PTR avxdot_indices
000bb c4 e2 7d 16 45
60 vpermps ymm0, ymm0, YMMWORD PTR tmp$[rbp]
000c1 49 8b 85 a0 01
00 00 mov rax, QWORD PTR ans$[r13]
000c8 0f 11 00 movups XMMWORD PTR [rax], xmm0
; 26 : _mm256_permutevar8x32_ps(tmp, _mm256_loadu_epi32(avxdot_indices)));
; 27 : }
000cb 49 8d a5 70 01
00 00 lea rsp, QWORD PTR [r13+368]
000d2 5f pop rdi
000d3 5d pop rbp
000d4 41 5d pop r13
000d6 c3 ret 0
dot_41_avx ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File D:\platform-dev\StgSharp.Native\sn-src\vector_dot.c
; COMDAT dot_41_sse
_TEXT SEGMENT
transpose$ = 224
vector$ = 232
ans$ = 240
dot_41_sse PROC ; COMDAT
; 8 : {
$LN3:
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
0000f 55 push rbp
00010 57 push rdi
00011 48 81 ec e8 00
00 00 sub rsp, 232 ; 000000e8H
00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32]
0001d 48 8d 0d 00 00
00 00 lea rcx, OFFSET FLAT:__9CC1CD6B_vector_dot@c
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
00029 90 npad 1
; 9 : *ans = _mm_dp_ps(transpose->f32_x[0], *vector, 0B11110001);
0002a b8 10 00 00 00 mov eax, 16
0002f 48 6b c0 00 imul rax, rax, 0
00033 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR transpose$[rbp]
0003a 48 8b 95 e8 00
00 00 mov rdx, QWORD PTR vector$[rbp]
00041 0f 10 04 01 movups xmm0, XMMWORD PTR [rcx+rax]
00045 66 0f 3a 40 02
f1 dpps xmm0, XMMWORD PTR [rdx], 241 ; 000000f1H
0004b 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
00052 0f 11 00 movups XMMWORD PTR [rax], xmm0
; 10 : *ans = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[1], *vector, 0B11110001),
00055 b8 10 00 00 00 mov eax, 16
0005a 48 6b c0 01 imul rax, rax, 1
0005e 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR transpose$[rbp]
00065 48 8b 95 e8 00
00 00 mov rdx, QWORD PTR vector$[rbp]
0006c 0f 10 04 01 movups xmm0, XMMWORD PTR [rcx+rax]
00070 66 0f 3a 40 02
f1 dpps xmm0, XMMWORD PTR [rdx], 241 ; 000000f1H
00076 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
0007d 0f 10 08 movups xmm1, XMMWORD PTR [rax]
00080 66 0f 3a 21 c8
00 insertps xmm1, xmm0, 0
00086 0f 28 c1 movaps xmm0, xmm1
00089 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
00090 0f 11 00 movups XMMWORD PTR [rax], xmm0
; 11 : SSE_INSERT_SIMPLE(1, 1));
; 12 : *ans = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[2], *vector, 0B11110001),
00093 b8 10 00 00 00 mov eax, 16
00098 48 6b c0 02 imul rax, rax, 2
0009c 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR transpose$[rbp]
000a3 48 8b 95 e8 00
00 00 mov rdx, QWORD PTR vector$[rbp]
000aa 0f 10 04 01 movups xmm0, XMMWORD PTR [rcx+rax]
000ae 66 0f 3a 40 02
f1 dpps xmm0, XMMWORD PTR [rdx], 241 ; 000000f1H
000b4 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
000bb 0f 10 08 movups xmm1, XMMWORD PTR [rax]
000be 66 0f 3a 21 c8
20 insertps xmm1, xmm0, 32 ; 00000020H
000c4 0f 28 c1 movaps xmm0, xmm1
000c7 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
000ce 0f 11 00 movups XMMWORD PTR [rax], xmm0
; 13 : SSE_INSERT_SIMPLE(1, 3));
; 14 : *ans = _mm_insert_ps(*ans, _mm_dp_ps(transpose->f32_x[3], *vector, 0B11110001),
000d1 b8 10 00 00 00 mov eax, 16
000d6 48 6b c0 03 imul rax, rax, 3
000da 48 8b 8d e0 00
00 00 mov rcx, QWORD PTR transpose$[rbp]
000e1 48 8b 95 e8 00
00 00 mov rdx, QWORD PTR vector$[rbp]
000e8 0f 10 04 01 movups xmm0, XMMWORD PTR [rcx+rax]
000ec 66 0f 3a 40 02
f1 dpps xmm0, XMMWORD PTR [rdx], 241 ; 000000f1H
000f2 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
000f9 0f 10 08 movups xmm1, XMMWORD PTR [rax]
000fc 66 0f 3a 21 c8
30 insertps xmm1, xmm0, 48 ; 00000030H
00102 0f 28 c1 movaps xmm0, xmm1
00105 48 8b 85 f0 00
00 00 mov rax, QWORD PTR ans$[rbp]
0010c 0f 11 00 movups XMMWORD PTR [rax], xmm0
; 15 : SSE_INSERT_SIMPLE(1, 4));
; 16 : }
0010f 48 8d a5 c8 00
00 00 lea rsp, QWORD PTR [rbp+200]
00116 5f pop rdi
00117 5d pop rbp
00118 c3 ret 0
dot_41_sse ENDP
_TEXT ENDS
END
@@ -1,123 +0,0 @@
{
"version": "2.1.0",
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
"runs": [
{
"results": [],
"tool": {
"driver": {
"name": "PREfast",
"fullName": "MSVC Code Analysis",
"version": "14.44.35220.0",
"informationUri": "https://aka.ms/cpp/ca"
}
},
"invocations": [
{
"executionSuccessful": true
}
],
"artifacts": [
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-src/vector_dot.c"
},
"roles": [
"analysisTarget"
],
"hashes": {
"sha-256": "ae91c34c7332f5433bc8aff1e46caf1032253883e4764b4249d4e19241454488"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.h"
},
"hashes": {
"sha-256": "94ca202415b5a633ad79580db19ae2b7def151b2e3f5d2dcaa341cfe934a5b0c"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/stgsharpnative.h"
},
"hashes": {
"sha-256": "5eee6b3faf7bf2247fe44898b0fcb71794c346ae2f0b58953e1632a49c1b6c4e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_internal.h"
},
"hashes": {
"sha-256": "7430f5e8582c672b79e266834c290e4d426ce44b7bd3b7e5534f201a48ff6df9"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_target.h"
},
"hashes": {
"sha-256": "b8c543a09db7bd21a2b409476024fa6bec6a5218d88ca036d15584ed453ceb91"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/stbi/stb_image.h"
},
"hashes": {
"sha-256": "c45e3ef56a7d946654740f02e25fcb99a819861155ad1173349a289f2a000ce2"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/gl.h"
},
"hashes": {
"sha-256": "c9d0960c919f9ef4cfa6449f2b0c00f2ad8286b420e01ee7ec34b40c618392fc"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/khrplatform.h"
},
"hashes": {
"sha-256": "f5b69ed6a7bef6651526abb2d1263811d59acdba7a29368bb9be1a0f9e80160f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/wgl.h"
},
"hashes": {
"sha-256": "86d6c58acb0a92b35ce8d94d6817fcec3f73d9e147e8621f468f143db1bbd81f"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/lib/glfw/glfw3.h"
},
"hashes": {
"sha-256": "85c584857dddd780c131940ed69cd516c2b60d61664df9cb254710c3602c1008"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/glfw_function.h"
},
"hashes": {
"sha-256": "4baa73f465e3e347fc0ad0ff666a6db2e83e749acd770f4bee02c12a7b9ec36e"
}
},
{
"location": {
"uri": "file:///d:/platform-dev/stgsharp.native/sn-head/sn_intrinsic.matkernel.h"
},
"hashes": {
"sha-256": "19f0030c441ae5c4cec0b446b64daa10448fafd44d4fd6dd2232b84f5ed9aad1"
}
}
]
}
]
}
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<DEFECTS></DEFECTS>
Binary file not shown.
Binary file not shown.