Skip to content

Commit 296e375

Browse files
author
Maxim Egorushkin
committed
asm targets updated.
1 parent 29f9aeb commit 296e375

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@
2222
#
2323
# AQB=1 taskset -c 8-15:2 /bin/time make -C ~/src/atomic_queue -Rj4 T=1 TOOLSET=gcc-14 run_benchmarks_n N=2 TAG=5825u_4-smt0
2424
#
25-
# cd ~/src/atomic_queue; make -Rj8 T=1 TOOLSET=gcc-14 run_tests asm_throughput asm_latency & make -Rj8 T=2 CXXFLAGS="-mno-bmi2" TOOLSET=gcc-14 run_tests asm_throughput asm_latency & wait
26-
#
2725
# Build and run with multiple toolsets in parallel:
2826
#
29-
# /bin/time make -C ~/src/atomic_queue -Rj$(nproc) T=3 TOOLSET=gcc-11,gcc-12,gcc-13,gcc-14,clang-18,clang-19,clang-20 BUILD=debug all run_tests
3027
# cd ~/src/atomic_queue && make T=3 distclean && /bin/time make -k -Rj$(nproc) T=3 TOOLSET=gcc-11,gcc-12,gcc-13,gcc-14,clang-18,clang-19,clang-20
28+
# /bin/time make -C ~/src/atomic_queue -Rj$(nproc) T=3 TOOLSET=gcc-11,gcc-12,gcc-13,gcc-14,clang-18,clang-19,clang-20 BUILD=debug all run_tests
3129
#
3230
# Additional CPPFLAGS, CXXFLAGS, LDLIBS, LDFLAGS can come from the command line, e.g. make CPPFLAGS='-I<my-include-dir>', or from environment variables. For example, also produce assembly outputs:
3331
#
@@ -310,8 +308,8 @@ env2 : env
310308

311309
ifdef not_cleaning # Not cleanining.
312310

313-
asm_throughput : private symbol_regex = "throughput_(consumer|producer)<atomic_queue::AtomicQueue"
314-
asm_latency : private symbol_regex = "ping_pong_(receiver|sender)<atomic_queue::AtomicQueue"
311+
asm_throughput : private symbol_regex = '::throughput_(consumer|producer).+atomic_queue::AtomicQueue[B]?[2]?<'
312+
asm_latency : private symbol_regex = '::ping_pong_(receiver|sender).+atomic_queue::AtomicQueue[B]?[2]?<'
315313

316314
asm_% : scripts/util.sh ${build_dir}/benchmarks $$(if $${symbol_regex},force,$$(error $$@ is not defined))
317315
source $< && disassemble-symbol ${symbol_regex} ${build_dir}/benchmarks.o

0 commit comments

Comments
 (0)