case slang_stor_float:
ty = slang_asm_float_deref;
break;
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
case slang_stor_vec4:
ty = slang_asm_vec4_deref;
break;
return GL_FALSE;
}
else {
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
if (arr->type == slang_stor_vec4) {
if (!PLAB2(A->file, slang_asm_vec4_equal_int,
size + *index, *index))
case slang_stor_float:
ty = slang_asm_float_copy;
break;
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
case slang_stor_vec4:
ty = slang_asm_vec4_copy;
break;
#include "library/slang_vertex_builtin_gc.h"
};
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
-foo
+#if 0 /*defined(USE_X86_ASM) || defined(SLANG_X86)*/
static const byte slang_builtin_vec4_gc[] = {
#include "library/slang_builtin_vec4_gc.h"
};
return GL_FALSE;
}
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
/* compile x86 4-component vector overrides, link to target */
if (!compile_binary(slang_builtin_vec4_gc,
&object->builtin[SLANG_BUILTIN_VEC4],
#define SLANG_BUILTIN_COMMON 1
#define SLANG_BUILTIN_TARGET 2
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
#define SLANG_BUILTIN_VEC4 3
#define SLANG_BUILTIN_TOTAL 4
#else
{
slang_machine_init(self);
self->infolog = NULL;
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
self->x86.compiled_func = NULL;
#endif
}
slang_info_log_destruct(self->infolog);
slang_alloc_free(self->infolog);
}
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
if (self->x86.compiled_func != NULL)
_mesa_exec_free(self->x86.compiled_func);
#endif
f = fopen(filename, "w");
#endif
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
if (mach->x86.compiled_func != NULL) {
mach->x86.compiled_func(mach);
return GL_TRUE;
#define SLANG_MACHINE_MEMORY_SIZE (SLANG_MACHINE_GLOBAL_SIZE + SLANG_MACHINE_STACK_SIZE)
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
/**
* Extra machine state for x86 execution.
*/
/** Machine memory */
slang_machine_slot mem[SLANG_MACHINE_MEMORY_SIZE];
struct slang_info_log_ *infolog; /**< printMESA() support */
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
slang_machine_x86 x86;
#endif
} slang_machine;
_slang_execute2(const slang_assembly_file *, slang_machine *);
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
extern GLboolean
_slang_x86_codegen(slang_machine *, slang_assembly_file *, GLuint);
#endif
#include "slang_library_noise.h"
#include "slang_library_texsample.h"
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
#include "x86/rtasm/x86sse.h"
x87_fyl2x(&G->f);
x87_fstp(&G->f, x86_deref(G->r_esp));
break;
+#if 00
case slang_asm_float_floor:
x86_call(&G->f, (GLubyte *) do_floorf);
x87_fstp(&G->f, x86_deref(G->r_esp));
break;
+#endif
case slang_asm_float_ceil:
x86_call(&G->f, (GLubyte *) do_ceilf);
x87_fstp(&G->f, x86_deref(G->r_esp));
case slang_spec_vec3:
return aggregate_vector (agg, slang_stor_float, 3);
case slang_spec_vec4:
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
return aggregate_vector (agg, slang_stor_vec4, 1);
#else
return aggregate_vector (agg, slang_stor_float, 4);
case slang_spec_mat3:
return aggregate_matrix (agg, slang_stor_float, 3);
case slang_spec_mat4:
-#if defined(USE_X86_ASM) || defined(SLANG_X86)
+#if 0/*defined(USE_X86_ASM) || defined(SLANG_X86)*/
return aggregate_vector (agg, slang_stor_vec4, 4);
#else
return aggregate_matrix (agg, slang_stor_float, 4);