gallium/util: replace //-style comments
This commit is contained in:
@@ -80,7 +80,7 @@ static int has_cpuid(void);
|
||||
#if defined(PIPE_ARCH_X86)
|
||||
|
||||
/* The sigill handlers */
|
||||
#if defined(PIPE_OS_LINUX) //&& defined(_POSIX_SOURCE) && defined(X86_FXSR_MAGIC)
|
||||
#if defined(PIPE_OS_LINUX) /*&& defined(_POSIX_SOURCE) && defined(X86_FXSR_MAGIC)*/
|
||||
static void
|
||||
sigill_handler_sse(int signal, struct sigcontext sc)
|
||||
{
|
||||
@@ -240,7 +240,7 @@ check_os_katmai_support(void)
|
||||
__asm __volatile ("xorps %xmm0, %xmm0");
|
||||
#elif defined(PIPE_CC_MSVC)
|
||||
__asm {
|
||||
xorps xmm0, xmm0 // executing SSE instruction
|
||||
xorps xmm0, xmm0 /* executing SSE instruction */
|
||||
}
|
||||
#else
|
||||
#error Unsupported compiler
|
||||
@@ -283,7 +283,7 @@ check_os_katmai_support(void)
|
||||
* and therefore to be safe I'm going to leave this test in here.
|
||||
*/
|
||||
if (util_cpu_caps.has_sse) {
|
||||
// test_os_katmai_exception_support();
|
||||
/* test_os_katmai_exception_support(); */
|
||||
}
|
||||
|
||||
/* Restore the original signal handlers.
|
||||
|
||||
Reference in New Issue
Block a user