mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
d9d0a80752
The extend instruction is for loading narrower data types into wider data types, eg, single element into 2, 3, or 4 element types, with a small set of extension schemes: 0, 1, -1, copy (for 1->any and 2 -> 4). Possibly most importantly, it works with unaligned data. Progress towards #30
202 lines
7.5 KiB
Text
202 lines
7.5 KiB
Text
libs_gamecode_tests = \
|
|
libs/gamecode/test/test-branch \
|
|
libs/gamecode/test/test-bitops \
|
|
libs/gamecode/test/test-callret \
|
|
libs/gamecode/test/test-conv0 \
|
|
libs/gamecode/test/test-conv1 \
|
|
libs/gamecode/test/test-conv2 \
|
|
libs/gamecode/test/test-conv3 \
|
|
libs/gamecode/test/test-conv4 \
|
|
libs/gamecode/test/test-conv5 \
|
|
libs/gamecode/test/test-conv6 \
|
|
libs/gamecode/test/test-conv7 \
|
|
libs/gamecode/test/test-double \
|
|
libs/gamecode/test/test-extend \
|
|
libs/gamecode/test/test-float \
|
|
libs/gamecode/test/test-hops \
|
|
libs/gamecode/test/test-int \
|
|
libs/gamecode/test/test-jump \
|
|
libs/gamecode/test/test-lea \
|
|
libs/gamecode/test/test-load \
|
|
libs/gamecode/test/test-load64 \
|
|
libs/gamecode/test/test-long \
|
|
libs/gamecode/test/test-mem \
|
|
libs/gamecode/test/test-scale \
|
|
libs/gamecode/test/test-stack \
|
|
libs/gamecode/test/test-state \
|
|
libs/gamecode/test/test-store \
|
|
libs/gamecode/test/test-store64 \
|
|
libs/gamecode/test/test-string \
|
|
libs/gamecode/test/test-swizzle \
|
|
libs/gamecode/test/test-unsigned \
|
|
libs/gamecode/test/test-vector \
|
|
libs/gamecode/test/test-with
|
|
|
|
TESTS += $(libs_gamecode_tests)
|
|
|
|
check_PROGRAMS += $(libs_gamecode_tests)
|
|
|
|
EXTRA_DIST += libs/gamecode/test/head.c libs/gamecode/test/main.c
|
|
|
|
test_gamecode_libs= \
|
|
libs/gamecode/libQFgamecode.la \
|
|
libs/util/libQFutil.la
|
|
|
|
libs_gamecode_test_test_branch_SOURCES= \
|
|
libs/gamecode/test/test-branch.c
|
|
libs_gamecode_test_test_branch_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_branch_DEPENDENCIES=$(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_bitops_SOURCES= \
|
|
libs/gamecode/test/test-bitops.c
|
|
libs_gamecode_test_test_bitops_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_bitops_DEPENDENCIES=$(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_callret_SOURCES= \
|
|
libs/gamecode/test/test-callret.c
|
|
libs_gamecode_test_test_callret_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_callret_DEPENDENCIES=$(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_conv0_SOURCES= \
|
|
libs/gamecode/test/test-conv0.c
|
|
libs_gamecode_test_test_conv0_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_conv0_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_conv1_SOURCES= \
|
|
libs/gamecode/test/test-conv1.c
|
|
libs_gamecode_test_test_conv1_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_conv1_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_conv2_SOURCES= \
|
|
libs/gamecode/test/test-conv2.c
|
|
libs_gamecode_test_test_conv2_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_conv2_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_conv3_SOURCES= \
|
|
libs/gamecode/test/test-conv3.c
|
|
libs_gamecode_test_test_conv3_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_conv3_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_conv4_SOURCES= \
|
|
libs/gamecode/test/test-conv4.c
|
|
libs_gamecode_test_test_conv4_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_conv4_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_conv5_SOURCES= \
|
|
libs/gamecode/test/test-conv5.c
|
|
libs_gamecode_test_test_conv5_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_conv5_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_conv6_SOURCES= \
|
|
libs/gamecode/test/test-conv6.c
|
|
libs_gamecode_test_test_conv6_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_conv6_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_conv7_SOURCES= \
|
|
libs/gamecode/test/test-conv7.c
|
|
libs_gamecode_test_test_conv7_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_conv7_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_double_SOURCES= \
|
|
libs/gamecode/test/test-double.c
|
|
libs_gamecode_test_test_double_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_double_DEPENDENCIES=$(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_extend_SOURCES= \
|
|
libs/gamecode/test/test-extend.c
|
|
libs_gamecode_test_test_extend_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_extend_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_float_SOURCES= \
|
|
libs/gamecode/test/test-float.c
|
|
libs_gamecode_test_test_float_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_float_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_hops_SOURCES= \
|
|
libs/gamecode/test/test-hops.c
|
|
libs_gamecode_test_test_hops_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_hops_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_int_SOURCES= \
|
|
libs/gamecode/test/test-int.c
|
|
libs_gamecode_test_test_int_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_int_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_jump_SOURCES= \
|
|
libs/gamecode/test/test-jump.c
|
|
libs_gamecode_test_test_jump_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_jump_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_lea_SOURCES= \
|
|
libs/gamecode/test/test-lea.c
|
|
libs_gamecode_test_test_lea_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_lea_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_load_SOURCES= \
|
|
libs/gamecode/test/test-load.c
|
|
libs_gamecode_test_test_load_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_load_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_load64_SOURCES= \
|
|
libs/gamecode/test/test-load64.c
|
|
libs_gamecode_test_test_load64_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_load64_DEPENDENCIES=$(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_long_SOURCES= \
|
|
libs/gamecode/test/test-long.c
|
|
libs_gamecode_test_test_long_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_long_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_mem_SOURCES= \
|
|
libs/gamecode/test/test-mem.c
|
|
libs_gamecode_test_test_mem_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_mem_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_scale_SOURCES= \
|
|
libs/gamecode/test/test-scale.c
|
|
libs_gamecode_test_test_scale_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_scale_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_stack_SOURCES= \
|
|
libs/gamecode/test/test-stack.c
|
|
libs_gamecode_test_test_stack_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_stack_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_state_SOURCES= \
|
|
libs/gamecode/test/test-state.c
|
|
libs_gamecode_test_test_state_LDADD= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_store_SOURCES= \
|
|
libs/gamecode/test/test-store.c
|
|
libs_gamecode_test_test_store_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_store_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_store64_SOURCES= \
|
|
libs/gamecode/test/test-store64.c
|
|
libs_gamecode_test_test_store64_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_store64_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_string_SOURCES= \
|
|
libs/gamecode/test/test-string.c
|
|
libs_gamecode_test_test_string_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_string_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_swizzle_SOURCES= \
|
|
libs/gamecode/test/test-swizzle.c
|
|
libs_gamecode_test_test_swizzle_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_swizzle_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_unsigned_SOURCES= \
|
|
libs/gamecode/test/test-unsigned.c
|
|
libs_gamecode_test_test_unsigned_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_unsigned_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_vector_SOURCES= \
|
|
libs/gamecode/test/test-vector.c
|
|
libs_gamecode_test_test_vector_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_vector_DEPENDENCIES= $(test_gamecode_libs)
|
|
|
|
libs_gamecode_test_test_with_SOURCES= \
|
|
libs/gamecode/test/test-with.c
|
|
libs_gamecode_test_test_with_LDADD= $(test_gamecode_libs)
|
|
libs_gamecode_test_test_with_DEPENDENCIES= $(test_gamecode_libs)
|