petarj | 8bea867 | 2013-05-10 13:14:54 +0000 | [diff] [blame] | 1 | |
| 2 | include $(top_srcdir)/Makefile.tool-tests.am |
| 3 | |
| 4 | dist_noinst_SCRIPTS = filter_stderr |
| 5 | |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 6 | EXTRA_DIST = \ |
| 7 | arithmetic_instruction.stdout.exp-mips64 \ |
| 8 | arithmetic_instruction.stdout.exp-mips64r2 arithmetic_instruction.stderr.exp \ |
| 9 | arithmetic_instruction.vgtest \ |
| 10 | branch_and_jump_instructions.stdout.exp \ |
| 11 | branch_and_jump_instructions.stderr.exp branch_and_jump_instructions.vgtest \ |
petarj | 1f458f5 | 2013-06-02 17:23:43 +0000 | [diff] [blame] | 12 | branches.stdout.exp branches.stderr.exp branches.vgtest \ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 13 | change_fp_mode.stderr.exp change_fp_mode.stdout.exp change_fp_mode.vgtest \ |
petarj | 0cf63b0 | 2014-09-04 01:07:08 +0000 | [diff] [blame] | 14 | cvm_bbit.stdout.exp cvm_bbit.stdout.exp-non-octeon \ |
| 15 | cvm_bbit.stderr.exp cvm_bbit.vgtest \ |
petarj | 6228e11 | 2014-01-31 12:49:22 +0000 | [diff] [blame] | 16 | cvm_ins.stdout.exp cvm_ins.stdout.exp-non-octeon \ |
| 17 | cvm_ins.stderr.exp cvm_ins.vgtest \ |
petarj | 8376591 | 2014-02-15 03:38:57 +0000 | [diff] [blame] | 18 | cvm_lx_ins.stdout.exp-LE cvm_lx_ins.stdout.exp-BE \ |
| 19 | cvm_lx_ins.stdout.exp-non-octeon \ |
petarj | 6228e11 | 2014-01-31 12:49:22 +0000 | [diff] [blame] | 20 | cvm_lx_ins.stderr.exp cvm_lx_ins.vgtest \ |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 21 | cvm_atomic.stdout.exp-LE cvm_atomic.stdout.exp-BE \ |
| 22 | cvm_atomic.stdout.exp-non-octeon \ |
dejanj | dca0af6 | 2014-06-04 11:36:21 +0000 | [diff] [blame] | 23 | cvm_atomic.stderr.exp cvm_atomic.vgtest \ |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 24 | cvm_atomic_thread.stdout.exp cvm_atomic_thread.stdout.exp-non-octeon \ |
dejanj | dca0af6 | 2014-06-04 11:36:21 +0000 | [diff] [blame] | 25 | cvm_atomic_thread.stderr.exp cvm_atomic_thread.vgtest \ |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 26 | extract_insert_bit_field.stdout.exp-mips64 \ |
| 27 | extract_insert_bit_field.stdout.exp-mips64r2 \ |
| 28 | extract_insert_bit_field.stderr.exp extract_insert_bit_field.vgtest \ |
| 29 | fpu_arithmetic.stdout.exp fpu_arithmetic.stderr.exp fpu_arithmetic.vgtest \ |
| 30 | fpu_branches.stdout.exp fpu_branches.stderr.exp fpu_branches.vgtest \ |
| 31 | fpu_control_word.stdout.exp fpu_control_word.stderr.exp \ |
| 32 | fpu_control_word.vgtest \ |
| 33 | fpu_load_store.stdout.exp-BE fpu_load_store.stdout.exp-LE \ |
| 34 | fpu_load_store.stderr.exp fpu_load_store.vgtest \ |
petarj | 77b1986 | 2014-02-14 17:50:42 +0000 | [diff] [blame] | 35 | load_indexed_instructions.stdout.exp-BE \ |
| 36 | load_indexed_instructions.stdout.exp-LE \ |
| 37 | load_indexed_instructions.stdout.exp-non-octeon \ |
| 38 | load_indexed_instructions.stderr.exp load_indexed_instructions.vgtest \ |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 39 | load_store.stdout.exp-BE load_store.stdout.exp-LE load_store.stderr.exp \ |
| 40 | load_store.vgtest \ |
| 41 | load_store_multiple.stdout.exp-BE load_store_multiple.stdout.exp-LE \ |
| 42 | load_store_multiple.stderr.exp load_store_multiple.vgtest \ |
| 43 | load_store_unaligned.stdout.exp load_store_unaligned.stderr.exp \ |
| 44 | load_store_unaligned.vgtest \ |
| 45 | logical_instructions.stdout.exp logical_instructions.stderr.exp \ |
| 46 | logical_instructions.vgtest \ |
| 47 | move_instructions.stdout.exp-BE move_instructions.stdout.exp-LE \ |
| 48 | move_instructions.stderr.exp move_instructions.vgtest \ |
| 49 | rotate_swap.stdout.exp-mips64 rotate_swap.stdout.exp-mips64r2 \ |
| 50 | rotate_swap.stderr.exp rotate_swap.vgtest \ |
| 51 | round.stdout.exp round.stderr.exp round.vgtest \ |
petarj | 2ff6ff2 | 2013-06-09 14:29:10 +0000 | [diff] [blame] | 52 | shift_instructions.stdout.exp-mips64 shift_instructions.stdout.exp-mips64r2 \ |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 53 | shift_instructions.stderr.exp shift_instructions.vgtest \ |
| 54 | test_block_size.stdout.exp test_block_size.stderr.exp \ |
| 55 | test_block_size.vgtest \ |
petarj | 77b1986 | 2014-02-14 17:50:42 +0000 | [diff] [blame] | 56 | test_fcsr.stdout.exp test_fcsr.stderr.exp \ |
| 57 | test_fcsr.vgtest \ |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 58 | test_math.stdout.exp test_math.stdout.exp-older-gcc \ |
| 59 | test_math.stderr.exp test_math.vgtest \ |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 60 | unaligned_load.stdout.exp-BE unaligned_load.stdout.exp-LE \ |
dejanj | fd7db80 | 2013-09-02 15:35:12 +0000 | [diff] [blame] | 61 | unaligned_load.stderr.exp unaligned_load.vgtest \ |
| 62 | unaligned_load_store.stdout.exp-LE unaligned_load_store.stdout.exp-BE \ |
dejanj | 4164a81 | 2013-09-18 10:08:23 +0000 | [diff] [blame] | 63 | unaligned_load_store.stderr.exp unaligned_load_store.vgtest \ |
petarj | 77b1986 | 2014-02-14 17:50:42 +0000 | [diff] [blame] | 64 | const.h macro_fpu.h macro_int.h macro_load_store.h rounding_mode.h |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 65 | |
petarj | 8bea867 | 2013-05-10 13:14:54 +0000 | [diff] [blame] | 66 | check_PROGRAMS = \ |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 67 | allexec \ |
| 68 | arithmetic_instruction \ |
| 69 | branch_and_jump_instructions \ |
| 70 | branches \ |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 71 | change_fp_mode \ |
petarj | 0cf63b0 | 2014-09-04 01:07:08 +0000 | [diff] [blame] | 72 | cvm_bbit \ |
petarj | df8e686 | 2013-09-18 02:19:45 +0000 | [diff] [blame] | 73 | cvm_ins \ |
petarj | 6228e11 | 2014-01-31 12:49:22 +0000 | [diff] [blame] | 74 | cvm_lx_ins \ |
dejanj | dca0af6 | 2014-06-04 11:36:21 +0000 | [diff] [blame] | 75 | cvm_atomic \ |
| 76 | cvm_atomic_thread \ |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 77 | extract_insert_bit_field \ |
| 78 | fpu_arithmetic \ |
| 79 | fpu_branches \ |
| 80 | fpu_control_word \ |
| 81 | fpu_load_store \ |
petarj | 77b1986 | 2014-02-14 17:50:42 +0000 | [diff] [blame] | 82 | load_indexed_instructions \ |
petarj | b35637a | 2013-05-28 16:51:27 +0000 | [diff] [blame] | 83 | load_store \ |
| 84 | load_store_multiple \ |
| 85 | load_store_unaligned \ |
| 86 | logical_instructions \ |
| 87 | move_instructions \ |
| 88 | rotate_swap \ |
| 89 | round \ |
| 90 | shift_instructions \ |
| 91 | test_block_size \ |
dejanj | 1b9c249 | 2013-11-14 15:45:26 +0000 | [diff] [blame] | 92 | test_fcsr \ |
petarj | 77b1986 | 2014-02-14 17:50:42 +0000 | [diff] [blame] | 93 | test_math \ |
| 94 | unaligned_load \ |
| 95 | unaligned_load_store |
petarj | 8bea867 | 2013-05-10 13:14:54 +0000 | [diff] [blame] | 96 | |
| 97 | AM_CFLAGS += @FLAG_M64@ |
| 98 | AM_CXXFLAGS += @FLAG_M64@ |
| 99 | AM_CCASFLAGS += @FLAG_M64@ |
| 100 | |
| 101 | allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ |
petarj | df8e686 | 2013-09-18 02:19:45 +0000 | [diff] [blame] | 102 | |
petarj | 0cf63b0 | 2014-09-04 01:07:08 +0000 | [diff] [blame] | 103 | cvm_bbit_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON@ |
petarj | 6228e11 | 2014-01-31 12:49:22 +0000 | [diff] [blame] | 104 | cvm_ins_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON@ |
| 105 | cvm_lx_ins_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON2@ |
dejanj | dca0af6 | 2014-06-04 11:36:21 +0000 | [diff] [blame] | 106 | cvm_atomic_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON2@ |
| 107 | cvm_atomic_thread_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON2@ |
petarj | 77b1986 | 2014-02-14 17:50:42 +0000 | [diff] [blame] | 108 | load_indexed_instructions_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON2@ |
dejanj | eec22de | 2013-10-10 09:10:35 +0000 | [diff] [blame] | 109 | fpu_arithmetic_CFLAGS = $(AM_CFLAGS) -lm |
dejanj | 1b9c249 | 2013-11-14 15:45:26 +0000 | [diff] [blame] | 110 | |
| 111 | # C++ tests |
| 112 | test_math_SOURCES = test_math.cpp |