Skip to content

Commit

Permalink
Version 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed Oct 25, 2019
1 parent 4b000cf commit ed9c10e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
2 changes: 2 additions & 0 deletions ide/libxsmm.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,9 @@
<None Include="..\scripts\libxsmm_specialized.py" />
<None Include="..\scripts\libxsmm_utilities.py" />
<None Include="..\scripts\tool_analyze.sh" />
<None Include="..\scripts\tool_changelog.sh" />
<None Include="..\scripts\tool_checkabi.sh" />
<None Include="..\scripts\tool_cpuinfo.sh" />
<None Include="..\scripts\tool_inspector.sh" />
<None Include="..\scripts\tool_normalize.sh" />
<None Include="..\scripts\tool_test.sh" />
Expand Down
6 changes: 6 additions & 0 deletions ide/libxsmm.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,12 @@
<None Include="..\scripts\tool_checkabi.sh">
<Filter>scripts</Filter>
</None>
<None Include="..\scripts\tool_changelog.sh">
<Filter>scripts</Filter>
</None>
<None Include="..\scripts\tool_cpuinfo.sh">
<Filter>scripts</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Text Include="..\version.txt" />
Expand Down
12 changes: 7 additions & 5 deletions src/libxsmm_cpuid_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
}
# elif defined(__GNUC__) || !defined(_CRAYC)
# if (64 > (LIBXSMM_BITS))
LIBXSMM_EXTERN LIBXSMM_RETARGETABLE int __get_cpuid(unsigned int, unsigned int*, unsigned int*, unsigned int*, unsigned int*);
LIBXSMM_EXTERN LIBXSMM_RETARGETABLE int __get_cpuid( /* prototype */
unsigned int, unsigned int*, unsigned int*, unsigned int*, unsigned int*);
# define LIBXSMM_XGETBV(XCR, EAX, EDX) EAX = (EDX) = 0xFFFFFFFF
# define LIBXSMM_CPUID_X86(FUNCTION, SUBFN, EAX, EBX, ECX, EDX) \
EAX = (EBX) = (EDX) = 0; ECX = (SUBFN); \
Expand Down Expand Up @@ -133,6 +134,11 @@ LIBXSMM_API int libxsmm_cpuid_x86(void)
}
else feature_cpu = LIBXSMM_X86_SSE4;
}
# if !defined(LIBXSMM_INTRINSICS_DEBUG)
LIBXSMM_ASSERT_MSG(LIBXSMM_STATIC_TARGET_ARCH <= LIBXSMM_MAX(LIBXSMM_X86_SSE3, feature_cpu),
/* TODO: confirm SSE3 */"missed detecting ISA extensions");
if (LIBXSMM_STATIC_TARGET_ARCH > feature_cpu) feature_cpu = LIBXSMM_STATIC_TARGET_ARCH;
# endif
/* XSAVE/XGETBV(0x04000000), OSXSAVE(0x08000000) */
if (LIBXSMM_CPUID_CHECK(ecx, 0x0C000000)) { /* OS SSE support */
feature_os = LIBXSMM_MIN(LIBXSMM_X86_SSE4, feature_cpu);
Expand Down Expand Up @@ -169,10 +175,6 @@ LIBXSMM_API int libxsmm_cpuid_x86(void)
}
if (0 != warnings) fprintf(stderr, "\n");
}
# if !defined(LIBXSMM_INTRINSICS_DEBUG)
LIBXSMM_ASSERT_MSG(LIBXSMM_STATIC_TARGET_ARCH <= result, "missed detecting ISA extensions");
if (LIBXSMM_STATIC_TARGET_ARCH > result) result = LIBXSMM_STATIC_TARGET_ARCH;
# endif
# if 0 /* permitted features */
result = LIBXSMM_MIN(feature_cpu, feature_os);
# else /* opportunistic */
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release-1.13-475
release-1.14

0 comments on commit ed9c10e

Please sign in to comment.