├── .flake8 ├── .gitignore ├── .gitmodules ├── 000helpers ├── README ├── ansi.cpp ├── argparse.cpp ├── avx2-dump.h ├── avx512-dump.h ├── benchmark.h ├── linux-perf-events-demo.cpp ├── linux-perf-events.h ├── load_file.cpp ├── rvv-debug.h ├── sse-dump.h ├── stringjoin-demo.cpp ├── stringjoin.h └── time_utils.h ├── LICENSE ├── README.rst ├── Xscr ├── .gitignore ├── Makefile ├── README.txt ├── Xscr.c ├── Xscr.h └── demo.c ├── apache-log-parser ├── timeline.py └── vistors.py ├── arm-neon-mandelbrot ├── .gitignore ├── Makefile ├── README.rst ├── benchmark.sh ├── fpu-proc.c ├── main.c └── neon-proc-32-bit.c ├── asmfractal ├── README.rst ├── frac.asm ├── frac.com └── frac.png ├── autovectorization-tests ├── .gitignore ├── Makefile ├── README.rst ├── accumulate_custom.cpp ├── accumulate_default.cpp ├── adjacent_find.cpp ├── all_of.cpp ├── any_of.cpp ├── copy.cpp ├── copy_if.cpp ├── count.cpp ├── count_if.cpp ├── fill.cpp ├── find.cpp ├── find_if.cpp ├── is_sorted.cpp ├── none_of.cpp ├── remove.cpp ├── remove_if.cpp ├── replace.cpp ├── replace_if.cpp ├── results │ ├── clang11-avx2.txt │ ├── clang11-avx2 │ │ ├── accumulate_custom_avx2.s │ │ ├── accumulate_default_avx2.s │ │ ├── all_of_avx2.s │ │ ├── any_of_avx2.s │ │ ├── copy_avx2.s │ │ ├── copy_if_avx2.s │ │ ├── count_avx2.s │ │ ├── count_if_avx2.s │ │ ├── fill_avx2.s │ │ ├── find_avx2.s │ │ ├── find_if_avx2.s │ │ ├── is_sorted_avx2.s │ │ ├── none_of_avx2.s │ │ ├── remove_avx2.s │ │ ├── remove_if_avx2.s │ │ ├── replace_avx2.s │ │ ├── replace_if_avx2.s │ │ ├── reverse_avx2.s │ │ ├── transform_abs_avx2.s │ │ ├── transform_inc_avx2.s │ │ ├── transform_neg_avx2.s │ │ └── unique_avx2.s │ ├── clang11-avx512.txt │ ├── clang11-avx512 │ │ ├── accumulate_custom_avx512.s │ │ ├── accumulate_default_avx512.s │ │ ├── all_of_avx512.s │ │ ├── any_of_avx512.s │ │ ├── copy_avx512.s │ │ ├── copy_if_avx512.s │ │ ├── count_avx512.s │ │ ├── count_if_avx512.s │ │ ├── fill_avx512.s │ │ ├── find_avx512.s │ │ ├── find_if_avx512.s │ │ ├── is_sorted_avx512.s │ │ ├── none_of_avx512.s │ │ ├── remove_avx512.s │ │ ├── remove_if_avx512.s │ │ ├── replace_avx512.s │ │ ├── replace_if_avx512.s │ │ ├── reverse_avx512.s │ │ ├── transform_abs_avx512.s │ │ ├── transform_inc_avx512.s │ │ ├── transform_neg_avx512.s │ │ └── unique_avx512.s │ ├── clang9-avx2.txt │ ├── clang9-avx512.txt │ ├── gcc10-avx2.txt │ ├── gcc10-avx2 │ │ ├── accumulate_custom_avx2.s │ │ ├── accumulate_default_avx2.s │ │ ├── all_of_avx2.s │ │ ├── any_of_avx2.s │ │ ├── copy_avx2.s │ │ ├── copy_if_avx2.s │ │ ├── count_avx2.s │ │ ├── count_if_avx2.s │ │ ├── fill_avx2.s │ │ ├── find_avx2.s │ │ ├── find_if_avx2.s │ │ ├── is_sorted_avx2.s │ │ ├── none_of_avx2.s │ │ ├── remove_avx2.s │ │ ├── remove_if_avx2.s │ │ ├── replace_avx2.s │ │ ├── replace_if_avx2.s │ │ ├── reverse_avx2.s │ │ ├── transform_abs_avx2.s │ │ ├── transform_inc_avx2.s │ │ ├── transform_neg_avx2.s │ │ └── unique_avx2.s │ ├── gcc10-avx512.txt │ ├── gcc10-avx512 │ │ ├── accumulate_custom_avx512.s │ │ ├── accumulate_default_avx512.s │ │ ├── adjacent_find.s │ │ ├── all_of_avx512.s │ │ ├── any_of_avx512.s │ │ ├── copy_avx512.s │ │ ├── copy_if_avx512.s │ │ ├── count_avx512.s │ │ ├── count_if_avx512.s │ │ ├── fill_avx512.s │ │ ├── find_avx512.s │ │ ├── find_if_avx512.s │ │ ├── is_sorted_avx512.s │ │ ├── none_of_avx512.s │ │ ├── remove_avx512.s │ │ ├── remove_if_avx512.s │ │ ├── replace_avx512.s │ │ ├── replace_if_avx512.s │ │ ├── reverse_avx512.s │ │ ├── transform_abs_avx512.s │ │ ├── transform_inc_avx512.s │ │ ├── transform_neg_avx512.s │ │ └── unique_avx512.s │ ├── gcc9-avx2.txt │ ├── gcc9-avx512.txt │ ├── icc19-avx2.txt │ ├── icc19-avx512.txt │ ├── msvc19-avx2.txt │ ├── msvc19-avx512.txt │ ├── msvc19.28.29333-avx2.txt │ ├── msvc19.28.29333-avx2 │ │ ├── accumulate_custom.asm │ │ ├── accumulate_default.asm │ │ ├── adjacent_find.asm │ │ ├── all_of.asm │ │ ├── any_of.asm │ │ ├── copy.asm │ │ ├── copy_if.asm │ │ ├── count.asm │ │ ├── count_if.asm │ │ ├── fill.asm │ │ ├── find.asm │ │ ├── find_if.asm │ │ ├── is_sorted.asm │ │ ├── none_of.asm │ │ ├── remove.asm │ │ ├── remove_if.asm │ │ ├── replace.asm │ │ ├── replace_if.asm │ │ ├── reverse.asm │ │ ├── transform_abs.asm │ │ ├── transform_inc.asm │ │ ├── transform_neg.asm │ │ └── unique.asm │ ├── msvc19.28.29333-avx512.txt │ └── msvc19.28.29333-avx512 │ │ ├── accumulate_custom.asm │ │ ├── accumulate_default.asm │ │ ├── adjacent_find.asm │ │ ├── all_of.asm │ │ ├── any_of.asm │ │ ├── copy.asm │ │ ├── copy_if.asm │ │ ├── count.asm │ │ ├── count_if.asm │ │ ├── fill.asm │ │ ├── find.asm │ │ ├── find_if.asm │ │ ├── is_sorted.asm │ │ ├── none_of.asm │ │ ├── remove.asm │ │ ├── remove_if.asm │ │ ├── replace.asm │ │ ├── replace_if.asm │ │ ├── reverse.asm │ │ ├── transform_abs.asm │ │ ├── transform_inc.asm │ │ ├── transform_neg.asm │ │ └── unique.asm ├── reverse.cpp ├── scripts │ ├── comparison2021-msvc.py │ ├── comparison2021.py │ ├── compile_all.py │ ├── procedures.py │ ├── summary.py │ ├── summary_base.py │ └── table.py ├── transform_abs.cpp ├── transform_inc.cpp ├── transform_neg.cpp └── unique.cpp ├── avo-demo ├── go.mod ├── go.sum └── main.go ├── avx-piecewise ├── .gitignore ├── Makefile ├── api.h ├── avx2.cpp ├── avx2.h ├── benchmark.cpp ├── benchmark.h ├── binary_search.cpp ├── binary_search.h ├── binary_search_inline.cpp ├── binary_search_inline.h ├── naive.cpp ├── naive.h └── unittests.cpp ├── avx512-bfs ├── .gitignore ├── README.rst ├── gen.py ├── go.mod ├── main.go └── proc_amd64.s ├── avx512-binomialcoef ├── .gitignore ├── Makefile ├── avx512_naive.cpp ├── demo.cpp ├── overflow.png ├── precalc_factors.cpp ├── python │ ├── factor.py │ ├── overflow.py │ └── precalc_factors.py └── scalar.cpp ├── avx512-conflict-detection ├── .gitignore ├── avx512.go ├── avx512stats.go ├── benchmark_test.go ├── cmd │ ├── check │ │ ├── go.mod │ │ └── main.go │ └── stats │ │ ├── go.mod │ │ └── main.go ├── datagen.go ├── go.mod ├── histogram.go ├── histogram_intelPopc_amd64.s ├── histogram_intelPopc_reference.go ├── histogram_intel_amd64.s ├── histogram_intel_reference.go ├── histogram_reference_test.go ├── histogram_scalar_reference.go ├── histogram_test.go ├── histogram_v2_amd64.s ├── histogram_v2_reference.go ├── histogram_v3_amd64.s ├── histogram_v3_reference.go ├── results │ ├── xeon-skylake.txt │ ├── xeon-w-2104.txt │ ├── zen4-7700x.txt │ └── zen5-9700x.txt └── scripts │ ├── parse.py │ └── table.py ├── avx512-consts ├── .gitignore ├── README.rst ├── avg │ ├── go.mod │ ├── main.go │ └── proc_amd64.s ├── fixup │ ├── go.mod │ ├── main.go │ └── proc_amd64.s ├── search │ ├── avx512mutate.go │ ├── avx512mutate_amd64.s │ ├── basicmutate.go │ ├── constantpool.go │ ├── db │ │ └── .gitignore │ ├── go.mod │ ├── go.sum │ ├── knownconstants.go │ ├── main.go │ ├── program.go │ └── sourcecode.go └── shl-rol │ ├── go.mod │ └── main.go ├── avx512-find-byte-in-lane ├── .gitignore ├── README.rst ├── go.mod ├── main.go └── proc_amd64.s ├── avx512-float-between ├── .gitignore ├── go.mod ├── main.go └── proc_amd64.s ├── avx512-galois ├── .gitignore ├── Makefile ├── bit_shuffle.h ├── interleave.cpp ├── replicate.cpp ├── reverse.cpp ├── test_bit_shuffle.cpp ├── test_transpose.cpp └── transpose.cpp ├── avx512-jpeg-zizag ├── .gitignore ├── 16bit-array │ ├── Makefile │ ├── all.cpp │ ├── avx512bw.cpp │ ├── avx512f-copy-single.inl │ ├── avx512f.cpp │ ├── avx512f.inl │ ├── avx512f_generate.py │ ├── benchmark.cpp │ ├── benchmark.h │ ├── common.cpp │ ├── results │ │ ├── skylakex.meta │ │ └── skylakex.txt │ ├── scalar.cpp │ ├── sse-copy-single.inl │ ├── sse.cpp │ ├── sse.inl │ ├── sse_generate.py │ └── unittest.cpp ├── 8bit-array │ ├── Makefile │ ├── all.cpp │ ├── avx512bw.cpp │ ├── avx512bw_masks.cpp │ ├── avx512bw_permute16.cpp │ ├── avx512bw_permute16.py │ ├── avx512vbmi.cpp │ ├── benchmark.cpp │ ├── benchmark.h │ ├── common.cpp │ ├── scalar.cpp │ ├── sse.cpp │ └── unittest.cpp ├── README.rst ├── benchmark.h └── scripts │ ├── format.py │ ├── table.py │ └── utils.py ├── avx512-popcount-16-nibbles ├── README.rst ├── go.mod ├── main.go └── proc_amd64.s ├── avx512-print-u64-bin ├── .gitignore ├── Makefile ├── avx512.cpp └── verify.cpp ├── avx512-quicksort └── README.txt ├── avx512-remove-spaces ├── .gitignore ├── Makefile ├── README.rst ├── all.cpp ├── ansi.cpp ├── application_base.cpp ├── aqrit.cpp ├── avx512-dump.h ├── avx512vbmi.cpp ├── avx512vbmi_travis.cpp ├── avx512vbmi_zach.cpp ├── benchmark.cpp ├── benchmark.h ├── results │ ├── cnl-speed.txt │ ├── cnl.metadata │ └── cnl.txt ├── scalar.cpp ├── scripts │ ├── format.py │ ├── format_speed.py │ ├── gnuplot.py │ ├── parse.py │ ├── parse_speed.py │ ├── procedure_names.py │ └── table.py ├── speed.cpp ├── test.cpp └── unittest.cpp ├── avx512-sort ├── .gitignore ├── Makefile ├── README.rst ├── avx512-sort-4regs.cpp ├── avx512-sort-any.cpp ├── avx512-sort.cpp ├── gettime.cpp ├── insertion-sort.cpp ├── scripts │ └── verify-mask.py ├── speed.cpp ├── verify.cpp └── verify_any.cpp ├── avx512-string ├── .gitignore ├── Makefile ├── README.rst ├── avx512f-strchr.cpp ├── avx512f-strcmp.cpp ├── avx512f-strlen.cpp ├── avx512f-strrchr.cpp ├── common.h ├── gettime.cpp ├── scalar-strchr.cpp ├── scalar-strlen.cpp ├── speed_strchr.cpp ├── speed_strcmp.cpp ├── speed_strlen.cpp ├── speed_strrchr.cpp └── test.cpp ├── avx512-utf32-to-utf8 ├── .gitignore ├── Makefile ├── README.rst ├── avx512bw-utf32-to-utf8.cpp ├── avx512bw-utf32-to-utf8.h ├── avx512vbmi2-utf32-to-utf8.cpp ├── avx512vbmi2-utf32-to-utf8.h └── verify.cpp ├── avx512-utf8-to-utf32 ├── .gitignore ├── Makefile ├── README.rst ├── avx512-expand-ver1.inl.cpp ├── avx512-expand-ver2.inl.cpp ├── avx512-expand.cpp ├── avx512-expand.h ├── avx512-surrogate-pairs.cpp ├── avx512-surrogate-pairs.h ├── avx512-transcode-utf8-ver1.inl.cpp ├── avx512-transcode-utf8-ver2.inl.cpp ├── avx512-transcode-utf8-ver3.inl.cpp ├── avx512-transcode-utf8-ver4.inl.cpp ├── avx512-transcode-utf8-ver5.inl.cpp ├── avx512-transcode-utf8.cpp ├── avx512-transcode-utf8.h ├── avx512-utf8-to-utf32-ver4.cpp ├── avx512-utf8-to-utf32-ver4.h ├── avx512-utf8-to-utf32.cpp ├── avx512-utf8-to-utf32.h ├── avx512-utf8-validate.cpp ├── avx512-utf8-validate.h ├── avx512.constants.inl.cpp ├── benchmark.cpp ├── benchmark.h ├── bom.cpp ├── bom.h ├── check.cpp ├── constats.py ├── dataset │ ├── .gitignore │ ├── Makefile │ └── combine.py ├── pshufb_const.py ├── unittest.cpp ├── utf8.cpp ├── utf8.h ├── validate-avx512-validate-range.cpp ├── validate-avx512-validate.cpp ├── validate-byte-expand.cpp ├── validate-surrogate-pairs.cpp ├── validate-utf8-to-utf32.cpp └── validate │ ├── .gitignore │ ├── Makefile │ ├── avx512-validate-leading-bytes.cpp │ ├── avx512-validate-leading-bytes.py │ ├── avx512-validate-structure.cpp │ ├── avx512-validate-utf8.constants.cpp │ ├── avx512-validate-utf8.cpp │ ├── avx512-validate-utf8.h │ ├── avx512vbmi-validate-leading-bytes.cpp │ ├── avx512vbmi-validate-structure.cpp │ ├── reference.cpp │ ├── reference.h │ ├── unittest.cpp │ ├── utf8-sequences.h │ └── utf8-sequences.py ├── avx512-varuint ├── .gitignore ├── Makefile ├── README.rst ├── avx512vbmi2_varuint.cpp ├── avx512vbmi2_varuint.h ├── avx512vbmi2_varuint_validate.cpp ├── benchmark.cpp ├── benchmark.h ├── byte_buffer.cpp ├── byte_buffer.h ├── results │ ├── icelake.metainfo │ └── icelake.txt ├── sse_varuint.cpp ├── sse_varuint.h ├── sse_varuint.incl.cpp ├── sse_varuint.py └── sse_varuint_validate.cpp ├── avx512 ├── .gitignore ├── Makefile ├── avx512-ktest.c ├── avx512bw-rotate-by1.cpp ├── avx512cd-conflict-demo.cpp ├── avx512f-alignr.cpp └── avx512vl-multishift.cpp ├── base32 ├── .gitignore ├── Makefile ├── common.h ├── encoding.cpp ├── scalar_encoding.cpp ├── sse_decoding.cpp ├── sse_encoding.cpp ├── verify_sse_decoding.cpp └── verify_sse_encoding.cpp ├── base64 ├── README.rst ├── decode │ └── sse │ │ └── README.rst └── encode │ ├── scalar │ ├── .gitignore │ ├── Makefile │ ├── README.rst │ ├── encode.cpp │ └── speed.cpp │ └── sse │ └── README.rst ├── bipartite-graph ├── example1.dot ├── example2.dot ├── example3.dot ├── example4.dot ├── example5.dot ├── graph.py ├── heawood.dot └── main.py ├── bit-test-and-reset ├── Makefile ├── README.rst ├── loop-clang.txt ├── loop-gcc.txt ├── loop.cpp ├── test-and-set-clang.txt ├── test-and-set-gcc.txt └── test-and-set.cpp ├── bit-twiddling ├── .gitignore ├── Makefile ├── all-higher-set.c ├── is_power_of_two.c ├── is_power_of_two_bmi1.c └── single_bit_to_mask.c ├── blend_32bpp ├── .gitignore ├── Makefile ├── README.rst └── blend_32bpp.c ├── blur ├── .gitignore ├── Makefile ├── README.rst ├── blur.c └── measure.sh ├── bmp2ascii ├── .gitignore ├── Makefile ├── README.rst └── bmp2ascii.cc ├── c++17-regex ├── README ├── regex.h └── test.cpp ├── cache_test ├── .gitignore ├── Makefile ├── README └── cache_test.c ├── changecase_swar ├── .gitignore ├── Makefile ├── README.rst ├── fnv32.cpp ├── gettime.cpp ├── test.cpp └── tolower.cpp ├── checktex ├── README.txt ├── checktex.c └── checktex.py ├── conv_from_dec ├── .gitignore ├── Makefile ├── README.rst ├── benchmark.cpp ├── common.cpp ├── parse.naive.cpp ├── parse.sse.cpp ├── parse.ssse3.cpp ├── parse.swar.cpp ├── procedures.cpp └── verify.cpp ├── conv_from_hex ├── .gitignore ├── Makefile ├── README.rst ├── common.c ├── parse.naive.c ├── parse.pext.c ├── parse.sse2.c ├── pext.c └── verify.cpp ├── conv_to_bin ├── .gitignore ├── Makefile ├── README.rst ├── config.h ├── conv_to_bin.cpp ├── speedup.cpp └── verify.cpp ├── conv_to_hex ├── .gitignore ├── Makefile ├── README.rst ├── common.c ├── conv_to_hex.c ├── expand_nibble.c ├── speedup.cpp └── verify.cpp ├── conv_to_oct ├── .gitignore ├── Makefile ├── README.rst ├── common.c ├── conv.cpp ├── conv.h ├── conv.pdep.c ├── conv.single-lookup.c ├── conv.sse2.c ├── conv.swar.c ├── conv.two-lookups.c ├── speedup.cpp └── verify.cpp ├── count_instructions ├── count_instructions.py ├── debian-386.txt ├── debian-x64-files.txt ├── debian-x64.txt └── instruction.txt ├── cpp-load-file ├── .gitignore ├── Makefile ├── README.rst ├── scripts │ ├── format.py │ └── table.py └── test.cpp ├── cpp-parse-enum ├── .gitignore ├── Makefile ├── README.rst └── parse_enum.cpp ├── cpp-strjoin ├── .gitignore ├── Makefile ├── README.rst ├── benchmark.h ├── join_naive.cpp ├── join_naive.h ├── join_precalc.cpp ├── join_precalc.h └── test.cpp ├── decimal-digits-count ├── .gitignore ├── Makefile ├── decimal_digits_avx512.c ├── decimal_digits_naive.c ├── decimal_digits_sse.c ├── decimal_digits_sse_32bit.c └── demo.c ├── detect-rvv ├── .gitignore ├── Makefile └── detect.c ├── fbstp ├── .gitignore ├── Makefile ├── README.rst ├── fbstp_speed.c └── fbstp_test.c ├── fizzbuzz └── fizzbuzz.c ├── float-sum ├── README.md ├── go.mod ├── grouped.go ├── kahan.go ├── naive.go ├── smoke_test.go └── sorted.go ├── float2int ├── .gitignore ├── Makefile ├── README.rst ├── demo.c ├── float2int.c └── verify.c ├── float2ratio ├── .gitignore ├── README.rst ├── go.mod └── main.go ├── float2string ├── .gitignore ├── Makefile ├── README.rst ├── cmdline.cpp ├── demo.cpp ├── float2string.h ├── gettime.cpp └── speed.cpp ├── floating-point ├── .gitignore ├── Makefile ├── README.rst ├── convert_int52_double.c ├── float2int.c ├── range01.c ├── round.c ├── round2.c ├── test-float2int.sh └── test-round2.sh ├── floor ├── Makefile ├── README.rst ├── demo.c ├── floor.c ├── ieee_double.h └── print_double.c ├── fopen_directory ├── .gitignore ├── Makefile ├── README.rst └── fopen_directory.c ├── fpc-compression ├── README.rst ├── compress.py ├── decompress.py ├── status.py └── uvint.py ├── gcc-asmgoto ├── .gitignore ├── Makefile ├── README.txt └── asmgoto.c ├── hexprint ├── .gitignore ├── Makefile ├── README.rst ├── branchless_hex.c ├── hexprint.c └── measure.sh ├── identify-jpeg ├── .gitignore ├── Cargo.lock ├── Cargo.toml └── src │ └── lib.rs ├── interpolation_search ├── .gitignore ├── Makefile ├── README.rst ├── common.cpp ├── demo.cpp ├── graphs │ ├── avgcmp.gnuplot │ ├── betteravg.gnuplot.pattern │ ├── betteravg.gnuplot.py │ ├── demoresults2text.py │ ├── speed.gnuplot │ └── speedresults2text.py ├── search.cpp └── speed.cpp ├── is_sorted ├── .gitignore ├── Makefile ├── README.rst ├── all-procedures.cpp ├── avx2.cpp ├── avx2.simd-generic.cpp ├── avx512.cpp ├── avx512.simd-generic.cpp ├── benchmark.cpp ├── results │ ├── skylake-i7-6700.metainfo │ ├── skylake-i7-6700.rst │ ├── skylake-i7-6700.txt │ ├── skylake-x-2104.metainfo │ ├── skylake-x-2104.rst │ └── skylake-x-2104.txt ├── scalar.cpp ├── scripts │ ├── performance_report.py │ ├── performance_test.py │ └── table.py ├── sse.cpp ├── sse.simd-generic.cpp ├── time_utils.h └── unittest.cpp ├── iterater-over-bits ├── .gitignore ├── Makefile ├── README.rst ├── README.txt ├── bitvector.h ├── core-i5-m540.csv ├── main.cpp ├── scripts │ ├── include.py │ ├── print_table.py │ └── table.py └── skylake-i7-6700.csv ├── itoa-divless ├── .gitignore ├── Makefile ├── README.rst ├── itoa_divless.cpp ├── itoa_divless.h ├── itoa_divless.py ├── itoa_divless_sse.cpp ├── itoa_divless_sse.h ├── itoa_divless_sse.py ├── itoa_divless_sse_table.h ├── itoa_divless_sse_v2.cpp ├── itoa_divless_sse_v2.h ├── itoa_divless_sse_v2.py ├── itoa_divless_sse_v2_table.h ├── itoa_divless_table.h ├── proof_single_digit.py ├── verify.cpp ├── verify_bcd_add.cpp ├── verify_sse.cpp └── verify_sse_v2.cpp ├── jarvis3d ├── 3d.js ├── giftwrapping2d.js ├── giftwrapping3d.js ├── index.css └── index.html ├── kill-gnulib-strstr ├── .gitignore ├── Makefile ├── README.rst ├── demo.sh └── kill-strstr.c ├── layouttrees ├── index.css ├── index.html ├── tree.js ├── tree_layout.js └── view.js ├── linearsearch ├── .gitignore ├── Makefile ├── README.rst ├── arglist.hpp ├── demo.cpp ├── measure.hpp ├── simd_list.hpp └── simple_list.hpp ├── linux-cmd ├── README.txt ├── cmpprefix.c ├── cutbytes.c ├── dumppalette.c ├── prefixeq.c ├── sleep.c ├── tail.c ├── tee.c └── tee.py ├── loadppm ├── README.md ├── load_ppm.c └── load_ppm.h ├── lookup-in-string-set ├── .gitignore ├── Makefile ├── README.rst ├── article │ ├── bit-level.py │ ├── byte-level.py │ ├── datasets.py │ └── go.txt ├── benchmark.cpp ├── benchmark.cpp.in ├── benchmark.h ├── benchmark.py ├── bytelookup │ ├── common.go │ ├── go.mod │ ├── lookup.go │ └── main.go ├── datasets │ ├── ada-pred.txt │ ├── ada-res.txt │ ├── ada.txt │ ├── adadefs.txt │ ├── c.txt │ ├── countries.txt │ ├── cplusplus.txt │ ├── cpp.txt │ ├── go.txt │ ├── gpc.txt │ ├── irc.txt │ ├── java.txt │ ├── jscript.txt │ ├── modula.txt │ ├── modula2.txt │ ├── modula3.txt │ ├── pascal.txt │ ├── sneller.txt │ ├── snellerbuiltin.txt │ └── states.txt ├── generated │ ├── hash_ada-pred.cpp │ ├── hash_ada-res.cpp │ ├── hash_ada.cpp │ ├── hash_adadefs.cpp │ ├── hash_c.cpp │ ├── hash_countries.cpp │ ├── hash_cplusplus.cpp │ ├── hash_cpp.cpp │ ├── hash_go.cpp │ ├── hash_gpc.cpp │ ├── hash_irc.cpp │ ├── hash_java.cpp │ ├── hash_jscript.cpp │ ├── hash_modula.cpp │ ├── hash_modula2.cpp │ ├── hash_modula3.cpp │ ├── hash_pascal.cpp │ ├── hash_sneller.cpp │ ├── hash_snellerbuiltin.cpp │ ├── hash_states.cpp │ ├── pext_ada-pred.cpp │ ├── pext_ada-res.cpp │ ├── pext_ada.cpp │ ├── pext_adadefs.cpp │ ├── pext_c.cpp │ ├── pext_countries.cpp │ ├── pext_cplusplus.cpp │ ├── pext_cpp.cpp │ ├── pext_go.cpp │ ├── pext_gpc.cpp │ ├── pext_irc.cpp │ ├── pext_java.cpp │ ├── pext_jscript.cpp │ ├── pext_modula.cpp │ ├── pext_modula2.cpp │ ├── pext_modula3.cpp │ ├── pext_pascal.cpp │ ├── pext_sneller.cpp │ ├── pext_snellerbuiltin.cpp │ ├── pext_states.cpp │ ├── split_ada-pred.cpp │ ├── split_ada-res.cpp │ ├── split_ada.cpp │ ├── split_adadefs.cpp │ ├── split_c.cpp │ ├── split_countries.cpp │ ├── split_cplusplus.cpp │ ├── split_cpp.cpp │ ├── split_go.cpp │ ├── split_gpc.cpp │ ├── split_irc.cpp │ ├── split_java.cpp │ ├── split_jscript.cpp │ ├── split_modula.cpp │ ├── split_modula2.cpp │ ├── split_modula3.cpp │ ├── split_pascal.cpp │ ├── split_sneller.cpp │ ├── split_snellerbuiltin.cpp │ └── split_states.cpp ├── hash.cpp.in ├── hash │ ├── common.go │ ├── generate.go │ ├── go.mod │ ├── hash.cpp.in │ ├── hash.go │ └── main.go ├── metadata.py ├── mkfile.py ├── pext.cpp.in ├── pext │ ├── common.go │ ├── generate.go │ ├── go.mod │ ├── lookup.go │ ├── main.go │ ├── model.go │ ├── pext.cpp.in │ └── pext.go ├── pshufb │ ├── common.go │ ├── go.mod │ └── main.go ├── results │ ├── skylake-i7-6700.metainfo │ └── skylake-i7-6700.txt ├── scripts │ ├── benchmark_parser.py │ ├── results.py │ └── table.py ├── split │ ├── common.go │ ├── generate.go │ ├── go.mod │ ├── main.go │ └── split.go ├── testdata │ └── .gitignore ├── unittest.cpp └── unittest.py ├── lookup_32bpp ├── .gitignore ├── Makefile ├── README.rst └── lookup_32bpp.c ├── loongarch64-vldi ├── .gitignore ├── Makefile ├── lasx-const-demo.cpp ├── lasx-const.h ├── lsx-const-demo.cpp ├── lsx-const.h ├── vldi-const.cpp └── vldi-const.h ├── loongarch64 ├── .gitignore ├── Makefile └── const.cpp ├── memory-fragmentation ├── .gitignore ├── Makefile ├── experiment1.sh ├── experiment2.sh ├── scripts │ ├── format.py │ ├── parse.py │ └── table.py └── test.cpp ├── mix_32bpp ├── .gitignore ├── Makefile ├── README.rst ├── blend_scalar.c ├── blend_sse.c ├── blend_sse4.c ├── blend_sse42.c ├── blend_swar_64bit.c ├── demo.c ├── mix_32bpp.c ├── proof │ └── swar.py └── results │ ├── postprocess.py │ ├── results-corei5.txt │ └── results-corei7-skylake.txt ├── mmx-string └── mmx_string.c ├── movmask ├── .gitignore ├── Makefile ├── README ├── demo.c ├── movmask.c └── proof.py ├── mxcsr ├── .gitignore ├── Makefile ├── README.rst ├── fpclassify.c ├── mxcsr.c ├── test_denormal_speed.c ├── test_divide_by_zero.c ├── test_flush_to_zero.c ├── test_invalid_operation.c └── time.c ├── parallel-and-bitmaps ├── .gitignore ├── Makefile ├── MultipleAndInterface.h ├── ParallelAndNaive.h ├── ParallelAndSplit.h ├── SequentialAnd.h ├── SequentialAndSubrange.h ├── SequentialAndZeroTracking.h ├── bitvector.h ├── main.cpp └── time.h ├── parallel_mandelbrot ├── .gitignore ├── Makefile ├── README.rst ├── parallel_mandelbrot.c └── results.png ├── parse_decimal ├── .gitignore ├── Makefile └── validate_input.cpp ├── parse_rfc_date ├── .gitignore ├── Makefile ├── README.rst ├── benchmark.cpp ├── benchmark.h ├── scalar.cpp ├── sse-dump.h ├── sse.cpp ├── sse_kendall.cpp └── unittests.cpp ├── parseip4 ├── .gitignore ├── Makefile ├── README.rst ├── article │ └── table.py ├── benchmark.cpp ├── benchmark.h ├── common.cpp ├── common.h ├── generator_sse.py ├── generator_v2.py ├── generator_v3.py ├── generator_v4.py ├── generator_v5.py ├── generator_v6.py ├── generator_v7 │ ├── .gitignore │ ├── bitmap.go │ ├── go.mod │ ├── main.go │ └── patterns.go ├── generator_v8.py ├── glibc_ref.cpp ├── glibc_ref.h ├── go_ref.cpp ├── go_ref.h ├── hashv5 │ ├── .gitignore │ ├── bitmap.go │ ├── go.mod │ ├── input.go │ ├── main.go │ ├── operation.go │ ├── patterns.go │ └── threads.go ├── hashv6 │ ├── .gitignore │ ├── bitmap.go │ ├── go.mod │ ├── input.go │ ├── main.go │ └── threads.go ├── naive.cpp ├── naive.h ├── results │ ├── icelake-8375c.metadata │ ├── icelake-8375c.txt │ ├── skylake-i7-6700.metainfo │ └── skylake-i7-6700.txt ├── scripts │ ├── format.py │ ├── table.py │ └── utils.py ├── sse.cpp ├── sse.h ├── sse_parse.cpp.inl ├── sse_parse_aux_v2.inl ├── sse_parse_aux_v3.inl ├── sse_parse_aux_v4.inl ├── sse_parse_aux_v5.inl ├── sse_parse_aux_v6.inl ├── sse_parse_aux_v7.inl ├── sse_parse_aux_v8.inl ├── sse_v2.cpp.inl ├── sse_v3.cpp.inl ├── sse_v4.cpp.inl ├── sse_v5.cpp.inl ├── sse_v6.cpp.inl ├── sse_v7.cpp.inl ├── sse_v8.cpp.inl ├── swar.cpp ├── swar.h └── unittest.cpp ├── pdep_soft_emu ├── .gitignore ├── Makefile ├── README.rst └── pdep_soft_emu.c ├── pext_soft_emu ├── .gitignore ├── Makefile ├── README.rst ├── common.c ├── parse_string.c ├── pext.c └── verify.c ├── pixconv16bpp-32bpp ├── .gitignore ├── Makefile ├── README.rst ├── pixconv16bpp-32bpp.c └── pixconv16bpp-32bpp.sh ├── powfraction ├── .gitignore ├── README.rst ├── go.mod ├── main.go ├── new.txt ├── old.txt └── perf_test.go ├── print_float ├── float2string.cc ├── make_precalc.c ├── precalc.c └── qualify_float.c ├── pygtk ├── MaskedEntry.png ├── MaskedEntry.py ├── README.rst ├── fixed.py ├── gdk-line_attributes.png ├── gdk-line_attributes.py ├── pythonlistmodel.py ├── query_view.py ├── show_rgb.png └── show_rgb.py ├── python-mock-context-manager ├── README.rst ├── demo.py └── output.txt ├── reduce └── reduce-samples.py ├── restructuredtext ├── .flake8 ├── .gitignore ├── Makefile ├── asciidiag.py ├── mkx86doc.py └── myroles.py ├── reverse_tab ├── .gitignore ├── Makefile ├── README.rst ├── results │ ├── core-i5-m540.txt │ ├── results-core2-movaps.txt │ ├── results-core2.txt │ ├── results-pentiumm-movaps.txt │ └── results-pentiumm.txt ├── reverse_tab.c ├── test_core2.sh └── test_pentiumm.sh ├── satadd-pix16bpp ├── .gitignore ├── Makefile ├── README.rst ├── demo.c ├── mmx.c ├── test.c └── x86.c ├── saturated-add └── saturated_add.c ├── scripts ├── benchmark_parser.py ├── cpuflags.py ├── hwfingerprint.py ├── table.py └── utils.py ├── set-intersection ├── .gitignore ├── Makefile ├── README ├── avx2_set_intersection.cpp ├── binarysearch_set_intersection.cpp ├── config.h.sh ├── custom_set_intersection.cpp ├── main.cpp ├── results │ ├── skylake-i7-6700.csv │ └── westmere-m540.csv ├── scripts │ ├── report.py │ ├── table.py │ └── utils.py ├── sse_set_intersection.cpp ├── time_utils.cpp ├── time_utils.h ├── vector_utils.cpp └── vector_utils.h ├── shoelace-improved ├── .gitignore ├── Makefile ├── improved.cpp ├── intel.cpp ├── test.cpp └── time_utils.h ├── simd-all-bytes-equal ├── Makefile ├── README.rst ├── avx2.cpp ├── avx2.s ├── avx512bw.cpp ├── avx512bw.s ├── avx512bw_v2.cpp ├── avx512bw_v2.s ├── avx512f.cpp ├── avx512f.s ├── sse-palignr.cpp ├── sse-palignr.s ├── sse.cpp └── sse.s ├── simd-anim ├── README.rst ├── animate.py ├── simd.png └── sisd.png ├── simd-basic ├── .gitignore ├── Makefile ├── bit-to-bytemask │ ├── Makefile │ ├── README.rst │ ├── ansi.cpp │ ├── bit_to_byte.avx512bw.cpp │ ├── bit_to_byte.avx512f.cpp │ ├── bit_to_byte.sse2.cpp │ ├── config.h │ ├── test.cpp │ └── testbase.h ├── broadcast-byte │ ├── Makefile │ ├── README.rst │ ├── ansi.cpp │ ├── broadcast.avx2.cpp │ ├── broadcast.avx512bw.cpp │ ├── broadcast.avx512f.cpp │ ├── broadcast.sse2.cpp │ ├── broadcast.ssse3.cpp │ ├── config.h │ ├── test.cpp │ └── testbase.h ├── config.h ├── extract-32bit-word │ ├── Makefile │ ├── README.rst │ ├── ansi.cpp │ ├── config.h │ ├── extract.avx2.cpp │ ├── extract.avx512f.cpp │ ├── extract.sse2.cpp │ ├── extract.sse41.cpp │ ├── test.cpp │ └── testbase.h └── reverse-bytes │ ├── Makefile │ ├── README.rst │ ├── ansi.cpp │ ├── config.h │ ├── reverse.avx2.cpp │ ├── reverse.avx512bw.cpp │ ├── reverse.avx512f.cpp │ ├── reverse.avx512vbmi.cpp │ ├── reverse.sse2.cpp │ ├── reverse.ssse3.cpp │ ├── test.cpp │ └── testbase.h ├── simd-bit-mask ├── .gitignore ├── Makefile ├── README.rst ├── demo.txt └── simd-bit-mask.cpp ├── simd-case ├── .gitignore ├── Makefile ├── README.rst ├── example1-avx.cpp ├── example1.cpp ├── example2-avx.cpp ├── example2.cpp └── translator │ ├── .gitignore │ ├── Makefile │ ├── benchmark.h │ ├── perf.cpp │ ├── test-pattern.cpp │ └── translate.py ├── simd-count-bytes ├── .gitignore ├── Makefile ├── README.rst ├── all.h ├── avx2.cpp ├── avx2.h ├── avx512bw.cpp ├── avx512bw.h ├── benchmark.cpp ├── benchmark.h ├── results │ ├── cannonlake.metadata │ ├── cannonlake.txt │ ├── skylake-x-2.metdata │ ├── skylake-x-2.txt │ ├── skylake-x.metdata │ ├── skylake-x.txt │ ├── skylake.metadata │ └── skylake.txt ├── scalar.cpp ├── scalar.h ├── scripts │ ├── format.py │ ├── table.py │ └── utils.py ├── sse.cpp ├── sse.h └── unittests.cpp ├── simd-heap ├── .gitignore ├── is_heap │ ├── Makefile │ ├── benchmark.cpp │ ├── benchmark.h │ ├── is_heap_avx2.cpp │ ├── is_heap_avx512.cpp │ ├── is_heap_scalar.h │ ├── is_heap_sse.cpp │ ├── results │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── benchmark_parser.py │ │ ├── format.py │ │ ├── icelake.metainfo │ │ ├── icelake.txt │ │ ├── ryzen7.metainfo │ │ ├── ryzen7.txt │ │ ├── skylake-x.metainfo │ │ ├── skylake-x.txt │ │ ├── table.py │ │ └── utils.py │ └── validate.cpp └── push_heap │ ├── .gitignore │ ├── Makefile │ ├── benchmark.cpp │ ├── benchmark.h │ ├── push_heap.h │ ├── push_heap_avx2.h │ ├── push_heap_avx512.h │ └── validate.cpp ├── simd-min-index ├── .gitignore ├── Makefile ├── README.rst ├── all.cpp ├── all.h ├── avx2.cpp ├── avx512f.cpp ├── benchmark.cpp ├── benchmark.h ├── c++stdlib.cpp ├── results │ ├── avx512.meta │ ├── avx512.txt │ ├── skylake.meta │ └── skylake.txt ├── scalar.cpp ├── scripts │ ├── format.py │ ├── table.py │ └── utils.py ├── sse.cpp ├── sse_unrolled.cpp └── unittest.cpp ├── simd-multi-vec-dist ├── .gitignore ├── Makefile ├── algorithm.h ├── all.h ├── benchmark.cpp ├── benchmark.h ├── scalar.cpp ├── scalar.h ├── script │ ├── benchmark_parser.py │ ├── format.py │ └── table.py ├── sse.cpp ├── sse.h ├── sse_dist_vector_many.cpp └── sse_dist_vector_many.h ├── simd-multi-vec-mul ├── .gitignore ├── Makefile ├── algorithm.h ├── all.h ├── benchmark.cpp ├── benchmark.h ├── scalar.cpp ├── scalar.h ├── sse.cpp ├── sse.h ├── sse_mult_vector_many.cpp └── sse_mult_vector_many.h ├── simd-parse-hex ├── .gitignore ├── Makefile ├── README.rst ├── algorithm1.cpp ├── algorithm1.h ├── algorithm2.cpp ├── algorithm2.h ├── geoff_algorithm.cpp ├── geoff_algorithm.h ├── geoff_algorithm.py ├── pshufb-parse.c └── validate.cpp ├── simd-pdep-pext ├── .gitignore ├── Makefile ├── argparse.cpp ├── benchmark.cpp.inl ├── benchmark.h ├── benchmark_pdep.cpp ├── benchmark_pext.cpp ├── impl.cpp ├── pdep_avx2.cpp ├── pdep_avx512.cpp ├── pext_avx2.cpp ├── pext_avx512.cpp ├── results │ ├── .gitignore │ ├── Makefile │ ├── alderlake-pdep.txt │ ├── alderlake-pext.txt │ ├── alderlake.metainfo │ ├── benchmark_parser.py │ ├── format.py │ ├── icelake-pdep.txt │ ├── icelake-pext.txt │ ├── icelake.metainfo │ ├── ryzen7-pdep.txt │ ├── ryzen7-pext.txt │ ├── ryzen7.metainfo │ ├── skylake-x-pdep.txt │ ├── skylake-x-pext.txt │ ├── skylake-x.metainfo │ ├── table.py │ └── utils.py ├── scalar.cpp ├── unittest.cpp.inl ├── unittest_pdep.cpp └── unittest_pext.cpp ├── simd-random ├── .gitignore ├── Makefile ├── benchmark.cpp ├── lcm.h ├── see_variant1.h ├── sse_variant1.cpp ├── sse_variant1.h ├── sse_variant2.cpp ├── sse_variant2.h └── time_utils.h ├── simd-switch ├── .gitignore ├── Makefile ├── benchmark.cpp ├── benchmark.h └── functions.cpp ├── sse-atoi ├── .gitignore ├── Makefile ├── README.rst └── sse-atoi.c ├── sse-compress ├── .gitignore ├── Makefile ├── benchmark.cpp ├── benchmark.h ├── scalar.cpp ├── simdutf.cpp ├── simdutf_tables.h ├── simdutf_ver2.cpp └── verify.cpp ├── sse-dotprod ├── .gitignore ├── Makefile ├── scalar.c ├── speed.cpp ├── sse-dpps-unrolled.c ├── sse-dpps.c ├── sse-naive-unrolled.c └── sse-naive.c ├── sse-lzcnt ├── .gitignore ├── Makefile ├── README.rst └── sse-lzcnt.cpp ├── sse-normal-distr ├── .gitignore ├── Makefile ├── benchmark.cpp ├── benchmark.h ├── f1.cpp ├── f2.cpp ├── noop.h ├── scalar.h ├── scripts │ └── approx.py ├── sse.h └── sse_fun.h ├── sse-sin-cos ├── .gitignore ├── Makefile ├── README.rst ├── sse-sin.c ├── taylor.c ├── test_accuracy.c └── test_speed.c ├── sse-sumbytes ├── .gitignore ├── README.rst ├── int8_t │ ├── Makefile │ ├── all.h │ ├── avx2.cpp │ ├── avx2.h │ ├── avx2_maddubs.cpp │ ├── avx2_maddubs.h │ ├── avx2_sadbw.cpp │ ├── avx2_sadbw.h │ ├── benchmark.cpp │ ├── benchmark.h │ ├── gather_results.sh │ ├── results │ │ ├── cannonlake.meta │ │ ├── cannonlake.txt │ │ ├── haswell.meta │ │ ├── haswell.txt │ │ ├── skylake.meta │ │ ├── skylake.txt │ │ ├── skylakex.meta │ │ └── skylakex.txt │ ├── scalar.cpp │ ├── scalar.h │ ├── scripts │ ├── sse.cpp │ ├── sse.h │ ├── sse_sadbw.cpp │ ├── sse_sadbw.h │ └── unittest.cpp ├── uint16_t │ ├── Makefile │ ├── all.h │ ├── avx2.cpp │ ├── avx2.h │ ├── avx2_madd.cpp │ ├── avx2_madd.h │ ├── avx2_sadbw.cpp │ ├── avx2_sadbw.h │ ├── benchmark.cpp │ ├── benchmark.h │ ├── scalar.cpp │ ├── scalar.h │ ├── sse.cpp │ ├── sse.h │ ├── sse_sadbw.cpp │ ├── sse_sadbw.h │ └── unittest.cpp └── uint8_t │ ├── Makefile │ ├── all.h │ ├── avx2.cpp │ ├── avx2.h │ ├── avx2_16bit.cpp │ ├── avx2_16bit.h │ ├── avx2_8bit.cpp │ ├── avx2_8bit.h │ ├── avx2_sadbw.cpp │ ├── avx2_sadbw.h │ ├── benchmark.cpp │ ├── benchmark.h │ ├── gather_results.sh │ ├── results │ ├── skylake.meta │ ├── skylake.txt │ ├── skylakex.meta │ ├── skylakex.txt │ ├── westmere.meta │ └── westmere.txt │ ├── scalar.cpp │ ├── scalar.h │ ├── scripts │ ├── sse.cpp │ ├── sse.h │ ├── sse_16bit.cpp │ ├── sse_16bit.h │ ├── sse_8bit.cpp │ ├── sse_8bit.h │ ├── sse_sadbw.cpp │ ├── sse_sadbw.h │ └── unittest.cpp ├── sse-trie ├── .gitignore ├── Makefile ├── README.rst ├── bin │ └── .gitkeep ├── c │ ├── trie-binary.c │ ├── trie-linear-mtf-incr.c │ ├── trie-linear-mtf.c │ ├── trie-linear-unrolled.c │ └── trie-linear.c ├── histogram.c ├── postproc-testall.py ├── test.c ├── testall.sh ├── trie-sse.c ├── trie.c └── trie.h ├── sse-uint32-float ├── .gitignore ├── Makefile ├── README.rst └── sse-uint32-float.c ├── sse-utoa ├── .gitignore ├── Makefile ├── README.rst ├── asm-helpers.c ├── benchmark.c ├── experiment.sh ├── intrin-helpers.c ├── procedures.c ├── sse-utoa.c ├── sse32-asm.c ├── sse32-intrin.c ├── sse32_2-asm.c ├── sse32_2-intrin.c ├── sse64-asm.c ├── sse64-intrin.c └── verify.c ├── sse ├── .gitignore ├── Makefile ├── README.rst ├── crossprodSSE.asm ├── dotprodSSE.asm ├── normvecSSE.asm ├── pcmpestri.c ├── pcmpistri.c ├── simd-abs-sub-uint.c ├── sse-aux.c ├── sse-crossprod.c ├── sse-dotprod.c ├── sse-dotprod4.c ├── sse-matmult.c ├── sse-matvec-mult.c ├── sse-matvecmult.c ├── sse-transpose.c ├── sse-vecmat-mult.c ├── sse3-dotprod.S ├── sse4-insertionsort.c ├── sse4-matvec-mult.S └── sse4-string-instr.S ├── sse4-mandelbrot ├── .gitignore ├── Makefile ├── README.rst ├── avx2-proc-64-bit.c ├── avx512-fma-proc-64-bit.c ├── avx512-proc-64-bit.c ├── avx512bw-proc-64-bit.c ├── fpu-proc.c ├── main.c ├── sse4-proc-32-bit.c └── sse4-proc-64-bit.c ├── stdmap-speedup ├── .gitignore ├── Makefile ├── README.rst └── stdmap-speedup.cpp ├── stl-int-set ├── .gitignore ├── Makefile ├── benchmark.h └── test.cpp ├── strstr ├── .gitignore ├── Makefile ├── README.rst ├── analyze.py ├── make_words.sh ├── strstr-libc.cpp ├── strstr-stdstring.cpp ├── strstr32.cpp ├── strstr64.cpp ├── test.cpp └── verify.cpp ├── suggestions ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── output.txt ├── src │ └── main.rs └── test.py ├── swar-any-equals ├── .gitignore ├── Makefile ├── README.rst ├── benchmark.cpp ├── benchmark.h ├── better.cpp ├── better.h ├── reference.cpp ├── reference.h ├── subtract.cpp ├── subtract.h └── unittest.cpp ├── swar-utf8-length ├── .gitignore ├── Makefile ├── README.rst ├── all.h ├── benchmark.cpp ├── benchmark.h ├── scalar.cpp ├── scalar.h ├── swar.cpp ├── swar.h └── unittest.cpp ├── ternlogconst ├── expr.js ├── screen.png ├── ternarylogic.css ├── ternarylogic.html └── ternarylogic.js ├── text-mode-view-img ├── README.rst ├── img.png └── view_img.c ├── tkinter ├── README.rst ├── img │ ├── tkcolorpicker.png │ ├── tkinter-arrows.png │ ├── tkinter-attribs.png │ ├── tkinter-pindex.png │ └── tkinter-tagorid.png ├── tkcolorpicker.py ├── tkinter-arrows.py ├── tkinter-attribs.py ├── tkinter-eventstate.py ├── tkinter-pindex.py ├── tkinter-scan.py ├── tkinter-tagorid.py └── tkinter-vertedit.py ├── tree-lca ├── .gitignore ├── README.rst ├── dot.py ├── example.dot ├── example.png ├── main.py └── node.py ├── ttyscreenshot ├── .gitignore ├── Makefile ├── README.rst ├── alsa.png ├── mc8.png ├── mc9.png └── ttyscreenshot.c ├── u16div ├── .gitignore ├── Makefile ├── README.rst ├── argparse.cpp ├── avx2.cpp ├── avx512.cpp ├── benchmark.cpp ├── benchmark.h ├── impl.cpp ├── rcp_tests.cpp ├── results │ ├── .gitignore │ ├── Makefile │ ├── alderlake.metainfo │ ├── alderlake.txt │ ├── benchmark_parser.py │ ├── format.py │ ├── icelake.metainfo │ ├── icelake.txt │ ├── ryzen7.metainfo │ ├── ryzen7.txt │ ├── skylake-x.metainfo │ ├── skylake-x.txt │ ├── table.py │ └── utils.py ├── scalar.cpp └── unittest.cpp ├── u8div ├── .gitignore ├── Makefile ├── README.rst ├── avx2.cpp ├── avx2_long_div.cpp ├── avx512.cpp ├── avx512_long_div.cpp ├── benchmark.cpp ├── benchmark.h ├── cmp_check.cpp ├── impl.cpp ├── long_div.css ├── long_div.html ├── long_div.js ├── proof.py ├── rcp_diff.cpp ├── rcp_tests.cpp ├── results │ ├── .gitignore │ ├── Makefile │ ├── alderlake.metainfo │ ├── alderlake.txt │ ├── benchmark_parser.py │ ├── format.py │ ├── icelake.metainfo │ ├── icelake.txt │ ├── ryzen7.metainfo │ ├── ryzen7.txt │ ├── skylake-x.metainfo │ ├── skylake-x.txt │ ├── table.py │ └── utils.py ├── scalar.cpp ├── sse.cpp ├── sse_long_div.cpp └── unittest.cpp ├── uops-histogram ├── .gitignore ├── Makefile ├── README.rst ├── extract.py └── histogram.py ├── utf32-change-case ├── .gitignore ├── Makefile ├── application_base.cpp ├── argparse.cpp ├── avx2-dump.h ├── avx2.cpp ├── avx512.cpp ├── benchmark.cpp ├── benchmark.h ├── datasets │ ├── .gitignore │ ├── Makefile │ ├── utf32-lowercase.py │ ├── utf32-uppercase.py │ └── utf32.py ├── impl.cpp ├── load_file.cpp ├── results │ ├── Makefile │ ├── benchmark_parser.py │ ├── format.py │ ├── icelake.metainfo │ ├── icelake.rst │ ├── icelake.txt │ ├── ryzen7.metainfo │ ├── ryzen7.rst │ ├── ryzen7.txt │ ├── table.py │ └── utils.py ├── scalar.cpp ├── scripts │ ├── .flake8 │ ├── article │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── block_ops.py │ │ ├── compressed_v2.py │ │ ├── compressed_v3.py │ │ ├── compressed_v4.py │ │ ├── diffs.py │ │ ├── image.py │ │ ├── ranges.py │ │ ├── statistics.py │ │ └── table.py │ ├── aux_conv_cpp.py │ ├── compressed_lookup_avx2.py │ ├── compressed_lookup_v1.py │ ├── compressed_lookup_v2.py │ ├── compressed_lookup_v3.py │ ├── cpp_lookup.py │ ├── lower.png │ ├── perfect_hash.cpp │ ├── plain_lookup.py │ └── upper.png ├── testcase.cpp └── verify.cpp ├── utf8-visualize ├── .gitignore ├── Makefile ├── ansi_printer.cpp ├── utf8_visitor.cpp └── utf8_visitor.h ├── vbyte-diff ├── README.rst └── vbyte.py ├── verb-parse ├── .gitignore ├── Makefile ├── README.rst ├── benchmark.cpp ├── http_verb.cpp ├── http_verb.h ├── http_verbs.gperf ├── http_verbs.txt ├── results │ ├── skylake-x.metadata │ ├── skylake-x.txt │ ├── skylake.metadata │ └── skylake.txt ├── time_utils.h ├── verb-parse-orig.cpp ├── verb-parse-perfhash.cpp ├── verb-parse-swar.cpp └── verb-parse-swar32.cpp ├── vim └── SwitchHeader.vim ├── wide-bfs ├── .gitignore ├── Makefile ├── README.rst ├── avx512f.cpp ├── benchmark.cpp ├── benchmark.h ├── config.h ├── results │ └── knights-landing-7210-gcc5.3.0-avx512f.txt ├── scalar.cpp ├── validate.cpp └── x86.cpp ├── windows-colors ├── README.rst └── winconsole.py └── x86-self-modifying-code ├── .gitignore ├── Makefile ├── README.rst └── x86linux_smc.c /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | extend-ignore = E501, E221 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /000helpers/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/README -------------------------------------------------------------------------------- /000helpers/ansi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/ansi.cpp -------------------------------------------------------------------------------- /000helpers/argparse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/argparse.cpp -------------------------------------------------------------------------------- /000helpers/avx2-dump.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/avx2-dump.h -------------------------------------------------------------------------------- /000helpers/avx512-dump.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/avx512-dump.h -------------------------------------------------------------------------------- /000helpers/benchmark.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/benchmark.h -------------------------------------------------------------------------------- /000helpers/linux-perf-events.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/linux-perf-events.h -------------------------------------------------------------------------------- /000helpers/load_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/load_file.cpp -------------------------------------------------------------------------------- /000helpers/rvv-debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/rvv-debug.h -------------------------------------------------------------------------------- /000helpers/sse-dump.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/sse-dump.h -------------------------------------------------------------------------------- /000helpers/stringjoin-demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/stringjoin-demo.cpp -------------------------------------------------------------------------------- /000helpers/stringjoin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/stringjoin.h -------------------------------------------------------------------------------- /000helpers/time_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/000helpers/time_utils.h -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/README.rst -------------------------------------------------------------------------------- /Xscr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/Xscr/.gitignore -------------------------------------------------------------------------------- /Xscr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/Xscr/Makefile -------------------------------------------------------------------------------- /Xscr/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/Xscr/README.txt -------------------------------------------------------------------------------- /Xscr/Xscr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/Xscr/Xscr.c -------------------------------------------------------------------------------- /Xscr/Xscr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/Xscr/Xscr.h -------------------------------------------------------------------------------- /Xscr/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/Xscr/demo.c -------------------------------------------------------------------------------- /apache-log-parser/timeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/apache-log-parser/timeline.py -------------------------------------------------------------------------------- /apache-log-parser/vistors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/apache-log-parser/vistors.py -------------------------------------------------------------------------------- /arm-neon-mandelbrot/.gitignore: -------------------------------------------------------------------------------- 1 | *.pgm 2 | fractal* 3 | -------------------------------------------------------------------------------- /arm-neon-mandelbrot/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/arm-neon-mandelbrot/Makefile -------------------------------------------------------------------------------- /arm-neon-mandelbrot/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/arm-neon-mandelbrot/README.rst -------------------------------------------------------------------------------- /arm-neon-mandelbrot/fpu-proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/arm-neon-mandelbrot/fpu-proc.c -------------------------------------------------------------------------------- /arm-neon-mandelbrot/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/arm-neon-mandelbrot/main.c -------------------------------------------------------------------------------- /asmfractal/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/asmfractal/README.rst -------------------------------------------------------------------------------- /asmfractal/frac.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/asmfractal/frac.asm -------------------------------------------------------------------------------- /asmfractal/frac.com: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/asmfractal/frac.com -------------------------------------------------------------------------------- /asmfractal/frac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/asmfractal/frac.png -------------------------------------------------------------------------------- /autovectorization-tests/.gitignore: -------------------------------------------------------------------------------- 1 | *.rst 2 | *.s 3 | -------------------------------------------------------------------------------- /avo-demo/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avo-demo/go.mod -------------------------------------------------------------------------------- /avo-demo/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avo-demo/go.sum -------------------------------------------------------------------------------- /avo-demo/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avo-demo/main.go -------------------------------------------------------------------------------- /avx-piecewise/.gitignore: -------------------------------------------------------------------------------- 1 | *.s 2 | *.o 3 | 4 | unittests 5 | benchmark 6 | -------------------------------------------------------------------------------- /avx-piecewise/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/Makefile -------------------------------------------------------------------------------- /avx-piecewise/api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/api.h -------------------------------------------------------------------------------- /avx-piecewise/avx2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/avx2.cpp -------------------------------------------------------------------------------- /avx-piecewise/avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/avx2.h -------------------------------------------------------------------------------- /avx-piecewise/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/benchmark.cpp -------------------------------------------------------------------------------- /avx-piecewise/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /avx-piecewise/binary_search.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/binary_search.h -------------------------------------------------------------------------------- /avx-piecewise/naive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/naive.cpp -------------------------------------------------------------------------------- /avx-piecewise/naive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/naive.h -------------------------------------------------------------------------------- /avx-piecewise/unittests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx-piecewise/unittests.cpp -------------------------------------------------------------------------------- /avx512-bfs/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | 3 | !*.s 4 | -------------------------------------------------------------------------------- /avx512-bfs/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-bfs/README.rst -------------------------------------------------------------------------------- /avx512-bfs/gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-bfs/gen.py -------------------------------------------------------------------------------- /avx512-bfs/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | -------------------------------------------------------------------------------- /avx512-bfs/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-bfs/main.go -------------------------------------------------------------------------------- /avx512-bfs/proc_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-bfs/proc_amd64.s -------------------------------------------------------------------------------- /avx512-binomialcoef/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /avx512-binomialcoef/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-binomialcoef/Makefile -------------------------------------------------------------------------------- /avx512-binomialcoef/demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-binomialcoef/demo.cpp -------------------------------------------------------------------------------- /avx512-binomialcoef/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-binomialcoef/scalar.cpp -------------------------------------------------------------------------------- /avx512-conflict-detection/.gitignore: -------------------------------------------------------------------------------- 1 | !*.s 2 | *.test 3 | main 4 | -------------------------------------------------------------------------------- /avx512-conflict-detection/go.mod: -------------------------------------------------------------------------------- 1 | module conflictdetection 2 | -------------------------------------------------------------------------------- /avx512-conflict-detection/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /avx512-consts/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | 3 | !*.s 4 | -------------------------------------------------------------------------------- /avx512-consts/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/README.rst -------------------------------------------------------------------------------- /avx512-consts/avg/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | -------------------------------------------------------------------------------- /avx512-consts/avg/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/avg/main.go -------------------------------------------------------------------------------- /avx512-consts/avg/proc_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/avg/proc_amd64.s -------------------------------------------------------------------------------- /avx512-consts/fixup/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | -------------------------------------------------------------------------------- /avx512-consts/fixup/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/fixup/main.go -------------------------------------------------------------------------------- /avx512-consts/search/db/.gitignore: -------------------------------------------------------------------------------- 1 | *.txt 2 | -------------------------------------------------------------------------------- /avx512-consts/search/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/search/go.mod -------------------------------------------------------------------------------- /avx512-consts/search/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/search/go.sum -------------------------------------------------------------------------------- /avx512-consts/search/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/search/main.go -------------------------------------------------------------------------------- /avx512-consts/shl-rol/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/shl-rol/go.mod -------------------------------------------------------------------------------- /avx512-consts/shl-rol/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-consts/shl-rol/main.go -------------------------------------------------------------------------------- /avx512-find-byte-in-lane/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | 3 | !*.s 4 | -------------------------------------------------------------------------------- /avx512-find-byte-in-lane/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | -------------------------------------------------------------------------------- /avx512-float-between/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | 3 | !*.s 4 | -------------------------------------------------------------------------------- /avx512-float-between/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | -------------------------------------------------------------------------------- /avx512-float-between/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-float-between/main.go -------------------------------------------------------------------------------- /avx512-galois/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-galois/.gitignore -------------------------------------------------------------------------------- /avx512-galois/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-galois/Makefile -------------------------------------------------------------------------------- /avx512-galois/bit_shuffle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-galois/bit_shuffle.h -------------------------------------------------------------------------------- /avx512-galois/interleave.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-galois/interleave.cpp -------------------------------------------------------------------------------- /avx512-galois/replicate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-galois/replicate.cpp -------------------------------------------------------------------------------- /avx512-galois/reverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-galois/reverse.cpp -------------------------------------------------------------------------------- /avx512-galois/transpose.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-galois/transpose.cpp -------------------------------------------------------------------------------- /avx512-jpeg-zizag/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-jpeg-zizag/.gitignore -------------------------------------------------------------------------------- /avx512-jpeg-zizag/16bit-array/benchmark.h: -------------------------------------------------------------------------------- 1 | ../benchmark.h -------------------------------------------------------------------------------- /avx512-jpeg-zizag/8bit-array/benchmark.h: -------------------------------------------------------------------------------- 1 | ../benchmark.h -------------------------------------------------------------------------------- /avx512-jpeg-zizag/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-jpeg-zizag/README.rst -------------------------------------------------------------------------------- /avx512-jpeg-zizag/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /avx512-jpeg-zizag/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /avx512-jpeg-zizag/scripts/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /avx512-popcount-16-nibbles/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | -------------------------------------------------------------------------------- /avx512-print-u64-bin/.gitignore: -------------------------------------------------------------------------------- 1 | verify 2 | -------------------------------------------------------------------------------- /avx512-print-u64-bin/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-print-u64-bin/Makefile -------------------------------------------------------------------------------- /avx512-quicksort/README.txt: -------------------------------------------------------------------------------- 1 | Code moved to repository https://github.com/WojciechMula/simd-sort 2 | -------------------------------------------------------------------------------- /avx512-remove-spaces/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-remove-spaces/Makefile -------------------------------------------------------------------------------- /avx512-remove-spaces/all.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-remove-spaces/all.cpp -------------------------------------------------------------------------------- /avx512-remove-spaces/ansi.cpp: -------------------------------------------------------------------------------- 1 | ../000helpers/ansi.cpp -------------------------------------------------------------------------------- /avx512-remove-spaces/aqrit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-remove-spaces/aqrit.cpp -------------------------------------------------------------------------------- /avx512-remove-spaces/avx512-dump.h: -------------------------------------------------------------------------------- 1 | ../000helpers/avx512-dump.h -------------------------------------------------------------------------------- /avx512-remove-spaces/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /avx512-remove-spaces/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /avx512-remove-spaces/speed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-remove-spaces/speed.cpp -------------------------------------------------------------------------------- /avx512-remove-spaces/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-remove-spaces/test.cpp -------------------------------------------------------------------------------- /avx512-sort/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/.gitignore -------------------------------------------------------------------------------- /avx512-sort/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/Makefile -------------------------------------------------------------------------------- /avx512-sort/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/README.rst -------------------------------------------------------------------------------- /avx512-sort/avx512-sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/avx512-sort.cpp -------------------------------------------------------------------------------- /avx512-sort/gettime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/gettime.cpp -------------------------------------------------------------------------------- /avx512-sort/insertion-sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/insertion-sort.cpp -------------------------------------------------------------------------------- /avx512-sort/speed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/speed.cpp -------------------------------------------------------------------------------- /avx512-sort/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/verify.cpp -------------------------------------------------------------------------------- /avx512-sort/verify_any.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-sort/verify_any.cpp -------------------------------------------------------------------------------- /avx512-string/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/.gitignore -------------------------------------------------------------------------------- /avx512-string/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/Makefile -------------------------------------------------------------------------------- /avx512-string/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/README.rst -------------------------------------------------------------------------------- /avx512-string/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/common.h -------------------------------------------------------------------------------- /avx512-string/gettime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/gettime.cpp -------------------------------------------------------------------------------- /avx512-string/speed_strchr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/speed_strchr.cpp -------------------------------------------------------------------------------- /avx512-string/speed_strcmp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/speed_strcmp.cpp -------------------------------------------------------------------------------- /avx512-string/speed_strlen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/speed_strlen.cpp -------------------------------------------------------------------------------- /avx512-string/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-string/test.cpp -------------------------------------------------------------------------------- /avx512-utf32-to-utf8/.gitignore: -------------------------------------------------------------------------------- 1 | verify 2 | -------------------------------------------------------------------------------- /avx512-utf32-to-utf8/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-utf32-to-utf8/Makefile -------------------------------------------------------------------------------- /avx512-utf8-to-utf32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-utf8-to-utf32/Makefile -------------------------------------------------------------------------------- /avx512-utf8-to-utf32/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /avx512-utf8-to-utf32/bom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-utf8-to-utf32/bom.cpp -------------------------------------------------------------------------------- /avx512-utf8-to-utf32/bom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-utf8-to-utf32/bom.h -------------------------------------------------------------------------------- /avx512-utf8-to-utf32/check.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-utf8-to-utf32/check.cpp -------------------------------------------------------------------------------- /avx512-utf8-to-utf32/dataset/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *.txt 3 | combined* 4 | -------------------------------------------------------------------------------- /avx512-utf8-to-utf32/utf8.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-utf8-to-utf32/utf8.cpp -------------------------------------------------------------------------------- /avx512-utf8-to-utf32/utf8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-utf8-to-utf32/utf8.h -------------------------------------------------------------------------------- /avx512-varuint/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/.gitignore -------------------------------------------------------------------------------- /avx512-varuint/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/Makefile -------------------------------------------------------------------------------- /avx512-varuint/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/README.rst -------------------------------------------------------------------------------- /avx512-varuint/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/benchmark.cpp -------------------------------------------------------------------------------- /avx512-varuint/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /avx512-varuint/byte_buffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/byte_buffer.cpp -------------------------------------------------------------------------------- /avx512-varuint/byte_buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/byte_buffer.h -------------------------------------------------------------------------------- /avx512-varuint/sse_varuint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/sse_varuint.cpp -------------------------------------------------------------------------------- /avx512-varuint/sse_varuint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/sse_varuint.h -------------------------------------------------------------------------------- /avx512-varuint/sse_varuint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512-varuint/sse_varuint.py -------------------------------------------------------------------------------- /avx512/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512/.gitignore -------------------------------------------------------------------------------- /avx512/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512/Makefile -------------------------------------------------------------------------------- /avx512/avx512-ktest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512/avx512-ktest.c -------------------------------------------------------------------------------- /avx512/avx512bw-rotate-by1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512/avx512bw-rotate-by1.cpp -------------------------------------------------------------------------------- /avx512/avx512f-alignr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512/avx512f-alignr.cpp -------------------------------------------------------------------------------- /avx512/avx512vl-multishift.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/avx512/avx512vl-multishift.cpp -------------------------------------------------------------------------------- /base32/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/.gitignore -------------------------------------------------------------------------------- /base32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/Makefile -------------------------------------------------------------------------------- /base32/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/common.h -------------------------------------------------------------------------------- /base32/encoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/encoding.cpp -------------------------------------------------------------------------------- /base32/scalar_encoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/scalar_encoding.cpp -------------------------------------------------------------------------------- /base32/sse_decoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/sse_decoding.cpp -------------------------------------------------------------------------------- /base32/sse_encoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/sse_encoding.cpp -------------------------------------------------------------------------------- /base32/verify_sse_decoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/verify_sse_decoding.cpp -------------------------------------------------------------------------------- /base32/verify_sse_encoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base32/verify_sse_encoding.cpp -------------------------------------------------------------------------------- /base64/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base64/README.rst -------------------------------------------------------------------------------- /base64/decode/sse/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base64/decode/sse/README.rst -------------------------------------------------------------------------------- /base64/encode/scalar/.gitignore: -------------------------------------------------------------------------------- 1 | speed 2 | -------------------------------------------------------------------------------- /base64/encode/scalar/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base64/encode/scalar/Makefile -------------------------------------------------------------------------------- /base64/encode/scalar/speed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base64/encode/scalar/speed.cpp -------------------------------------------------------------------------------- /base64/encode/sse/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/base64/encode/sse/README.rst -------------------------------------------------------------------------------- /bipartite-graph/example1.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bipartite-graph/example1.dot -------------------------------------------------------------------------------- /bipartite-graph/example2.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bipartite-graph/example2.dot -------------------------------------------------------------------------------- /bipartite-graph/example3.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bipartite-graph/example3.dot -------------------------------------------------------------------------------- /bipartite-graph/example4.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bipartite-graph/example4.dot -------------------------------------------------------------------------------- /bipartite-graph/example5.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bipartite-graph/example5.dot -------------------------------------------------------------------------------- /bipartite-graph/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bipartite-graph/graph.py -------------------------------------------------------------------------------- /bipartite-graph/heawood.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bipartite-graph/heawood.dot -------------------------------------------------------------------------------- /bipartite-graph/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bipartite-graph/main.py -------------------------------------------------------------------------------- /bit-test-and-reset/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bit-test-and-reset/Makefile -------------------------------------------------------------------------------- /bit-test-and-reset/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bit-test-and-reset/README.rst -------------------------------------------------------------------------------- /bit-test-and-reset/loop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bit-test-and-reset/loop.cpp -------------------------------------------------------------------------------- /bit-twiddling/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bit-twiddling/.gitignore -------------------------------------------------------------------------------- /bit-twiddling/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bit-twiddling/Makefile -------------------------------------------------------------------------------- /bit-twiddling/all-higher-set.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bit-twiddling/all-higher-set.c -------------------------------------------------------------------------------- /blend_32bpp/.gitignore: -------------------------------------------------------------------------------- 1 | blend 2 | -------------------------------------------------------------------------------- /blend_32bpp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/blend_32bpp/Makefile -------------------------------------------------------------------------------- /blend_32bpp/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/blend_32bpp/README.rst -------------------------------------------------------------------------------- /blend_32bpp/blend_32bpp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/blend_32bpp/blend_32bpp.c -------------------------------------------------------------------------------- /blur/.gitignore: -------------------------------------------------------------------------------- 1 | blur 2 | blur.log 3 | -------------------------------------------------------------------------------- /blur/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/blur/Makefile -------------------------------------------------------------------------------- /blur/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/blur/README.rst -------------------------------------------------------------------------------- /blur/blur.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/blur/blur.c -------------------------------------------------------------------------------- /blur/measure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/blur/measure.sh -------------------------------------------------------------------------------- /bmp2ascii/.gitignore: -------------------------------------------------------------------------------- 1 | bmp2ascii 2 | -------------------------------------------------------------------------------- /bmp2ascii/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bmp2ascii/Makefile -------------------------------------------------------------------------------- /bmp2ascii/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bmp2ascii/README.rst -------------------------------------------------------------------------------- /bmp2ascii/bmp2ascii.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/bmp2ascii/bmp2ascii.cc -------------------------------------------------------------------------------- /c++17-regex/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/c++17-regex/README -------------------------------------------------------------------------------- /c++17-regex/regex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/c++17-regex/regex.h -------------------------------------------------------------------------------- /c++17-regex/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/c++17-regex/test.cpp -------------------------------------------------------------------------------- /cache_test/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /cache_test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cache_test/Makefile -------------------------------------------------------------------------------- /cache_test/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cache_test/README -------------------------------------------------------------------------------- /cache_test/cache_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cache_test/cache_test.c -------------------------------------------------------------------------------- /changecase_swar/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /changecase_swar/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/changecase_swar/Makefile -------------------------------------------------------------------------------- /changecase_swar/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/changecase_swar/README.rst -------------------------------------------------------------------------------- /changecase_swar/fnv32.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/changecase_swar/fnv32.cpp -------------------------------------------------------------------------------- /changecase_swar/gettime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/changecase_swar/gettime.cpp -------------------------------------------------------------------------------- /changecase_swar/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/changecase_swar/test.cpp -------------------------------------------------------------------------------- /changecase_swar/tolower.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/changecase_swar/tolower.cpp -------------------------------------------------------------------------------- /checktex/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/checktex/README.txt -------------------------------------------------------------------------------- /checktex/checktex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/checktex/checktex.c -------------------------------------------------------------------------------- /checktex/checktex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/checktex/checktex.py -------------------------------------------------------------------------------- /conv_from_dec/.gitignore: -------------------------------------------------------------------------------- 1 | verify 2 | benchmark 3 | -------------------------------------------------------------------------------- /conv_from_dec/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/Makefile -------------------------------------------------------------------------------- /conv_from_dec/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/README.rst -------------------------------------------------------------------------------- /conv_from_dec/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/benchmark.cpp -------------------------------------------------------------------------------- /conv_from_dec/common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/common.cpp -------------------------------------------------------------------------------- /conv_from_dec/parse.naive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/parse.naive.cpp -------------------------------------------------------------------------------- /conv_from_dec/parse.sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/parse.sse.cpp -------------------------------------------------------------------------------- /conv_from_dec/parse.ssse3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/parse.ssse3.cpp -------------------------------------------------------------------------------- /conv_from_dec/parse.swar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/parse.swar.cpp -------------------------------------------------------------------------------- /conv_from_dec/procedures.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/procedures.cpp -------------------------------------------------------------------------------- /conv_from_dec/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_dec/verify.cpp -------------------------------------------------------------------------------- /conv_from_hex/.gitignore: -------------------------------------------------------------------------------- 1 | verify 2 | -------------------------------------------------------------------------------- /conv_from_hex/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_hex/Makefile -------------------------------------------------------------------------------- /conv_from_hex/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_hex/README.rst -------------------------------------------------------------------------------- /conv_from_hex/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_hex/common.c -------------------------------------------------------------------------------- /conv_from_hex/parse.naive.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_hex/parse.naive.c -------------------------------------------------------------------------------- /conv_from_hex/parse.pext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_hex/parse.pext.c -------------------------------------------------------------------------------- /conv_from_hex/parse.sse2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_hex/parse.sse2.c -------------------------------------------------------------------------------- /conv_from_hex/pext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_hex/pext.c -------------------------------------------------------------------------------- /conv_from_hex/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_from_hex/verify.cpp -------------------------------------------------------------------------------- /conv_to_bin/.gitignore: -------------------------------------------------------------------------------- 1 | verify 2 | speedup 3 | -------------------------------------------------------------------------------- /conv_to_bin/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_bin/Makefile -------------------------------------------------------------------------------- /conv_to_bin/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_bin/README.rst -------------------------------------------------------------------------------- /conv_to_bin/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_bin/config.h -------------------------------------------------------------------------------- /conv_to_bin/conv_to_bin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_bin/conv_to_bin.cpp -------------------------------------------------------------------------------- /conv_to_bin/speedup.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_bin/speedup.cpp -------------------------------------------------------------------------------- /conv_to_bin/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_bin/verify.cpp -------------------------------------------------------------------------------- /conv_to_hex/.gitignore: -------------------------------------------------------------------------------- 1 | verify 2 | speedup 3 | *.csv 4 | -------------------------------------------------------------------------------- /conv_to_hex/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_hex/Makefile -------------------------------------------------------------------------------- /conv_to_hex/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_hex/README.rst -------------------------------------------------------------------------------- /conv_to_hex/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_hex/common.c -------------------------------------------------------------------------------- /conv_to_hex/conv_to_hex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_hex/conv_to_hex.c -------------------------------------------------------------------------------- /conv_to_hex/expand_nibble.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_hex/expand_nibble.c -------------------------------------------------------------------------------- /conv_to_hex/speedup.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_hex/speedup.cpp -------------------------------------------------------------------------------- /conv_to_hex/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_hex/verify.cpp -------------------------------------------------------------------------------- /conv_to_oct/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/.gitignore -------------------------------------------------------------------------------- /conv_to_oct/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/Makefile -------------------------------------------------------------------------------- /conv_to_oct/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/README.rst -------------------------------------------------------------------------------- /conv_to_oct/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/common.c -------------------------------------------------------------------------------- /conv_to_oct/conv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/conv.cpp -------------------------------------------------------------------------------- /conv_to_oct/conv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/conv.h -------------------------------------------------------------------------------- /conv_to_oct/conv.pdep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/conv.pdep.c -------------------------------------------------------------------------------- /conv_to_oct/conv.sse2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/conv.sse2.c -------------------------------------------------------------------------------- /conv_to_oct/conv.swar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/conv.swar.c -------------------------------------------------------------------------------- /conv_to_oct/conv.two-lookups.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/conv.two-lookups.c -------------------------------------------------------------------------------- /conv_to_oct/speedup.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/speedup.cpp -------------------------------------------------------------------------------- /conv_to_oct/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/conv_to_oct/verify.cpp -------------------------------------------------------------------------------- /cpp-load-file/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | ?M 3 | ??M 4 | time.* 5 | -------------------------------------------------------------------------------- /cpp-load-file/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-load-file/Makefile -------------------------------------------------------------------------------- /cpp-load-file/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-load-file/README.rst -------------------------------------------------------------------------------- /cpp-load-file/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /cpp-load-file/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-load-file/test.cpp -------------------------------------------------------------------------------- /cpp-parse-enum/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /cpp-parse-enum/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-parse-enum/Makefile -------------------------------------------------------------------------------- /cpp-parse-enum/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-parse-enum/README.rst -------------------------------------------------------------------------------- /cpp-parse-enum/parse_enum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-parse-enum/parse_enum.cpp -------------------------------------------------------------------------------- /cpp-strjoin/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | test 3 | -------------------------------------------------------------------------------- /cpp-strjoin/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-strjoin/Makefile -------------------------------------------------------------------------------- /cpp-strjoin/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-strjoin/README.rst -------------------------------------------------------------------------------- /cpp-strjoin/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /cpp-strjoin/join_naive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-strjoin/join_naive.cpp -------------------------------------------------------------------------------- /cpp-strjoin/join_naive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-strjoin/join_naive.h -------------------------------------------------------------------------------- /cpp-strjoin/join_precalc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-strjoin/join_precalc.cpp -------------------------------------------------------------------------------- /cpp-strjoin/join_precalc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-strjoin/join_precalc.h -------------------------------------------------------------------------------- /cpp-strjoin/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/cpp-strjoin/test.cpp -------------------------------------------------------------------------------- /decimal-digits-count/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | demo_avx512 3 | -------------------------------------------------------------------------------- /decimal-digits-count/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/decimal-digits-count/Makefile -------------------------------------------------------------------------------- /decimal-digits-count/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/decimal-digits-count/demo.c -------------------------------------------------------------------------------- /detect-rvv/.gitignore: -------------------------------------------------------------------------------- 1 | detect 2 | -------------------------------------------------------------------------------- /detect-rvv/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/detect-rvv/Makefile -------------------------------------------------------------------------------- /detect-rvv/detect.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/detect-rvv/detect.c -------------------------------------------------------------------------------- /fbstp/.gitignore: -------------------------------------------------------------------------------- 1 | speed 2 | test 3 | -------------------------------------------------------------------------------- /fbstp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fbstp/Makefile -------------------------------------------------------------------------------- /fbstp/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fbstp/README.rst -------------------------------------------------------------------------------- /fbstp/fbstp_speed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fbstp/fbstp_speed.c -------------------------------------------------------------------------------- /fbstp/fbstp_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fbstp/fbstp_test.c -------------------------------------------------------------------------------- /fizzbuzz/fizzbuzz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fizzbuzz/fizzbuzz.c -------------------------------------------------------------------------------- /float-sum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float-sum/README.md -------------------------------------------------------------------------------- /float-sum/go.mod: -------------------------------------------------------------------------------- 1 | module floatsum 2 | 3 | go 1.19 4 | -------------------------------------------------------------------------------- /float-sum/grouped.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float-sum/grouped.go -------------------------------------------------------------------------------- /float-sum/kahan.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float-sum/kahan.go -------------------------------------------------------------------------------- /float-sum/naive.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float-sum/naive.go -------------------------------------------------------------------------------- /float-sum/smoke_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float-sum/smoke_test.go -------------------------------------------------------------------------------- /float-sum/sorted.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float-sum/sorted.go -------------------------------------------------------------------------------- /float2int/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | verify 3 | -------------------------------------------------------------------------------- /float2int/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2int/Makefile -------------------------------------------------------------------------------- /float2int/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2int/README.rst -------------------------------------------------------------------------------- /float2int/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2int/demo.c -------------------------------------------------------------------------------- /float2int/float2int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2int/float2int.c -------------------------------------------------------------------------------- /float2int/verify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2int/verify.c -------------------------------------------------------------------------------- /float2ratio/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /float2ratio/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2ratio/README.rst -------------------------------------------------------------------------------- /float2ratio/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | -------------------------------------------------------------------------------- /float2ratio/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2ratio/main.go -------------------------------------------------------------------------------- /float2string/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | speed 3 | -------------------------------------------------------------------------------- /float2string/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2string/Makefile -------------------------------------------------------------------------------- /float2string/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2string/README.rst -------------------------------------------------------------------------------- /float2string/cmdline.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2string/cmdline.cpp -------------------------------------------------------------------------------- /float2string/demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2string/demo.cpp -------------------------------------------------------------------------------- /float2string/float2string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2string/float2string.h -------------------------------------------------------------------------------- /float2string/gettime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2string/gettime.cpp -------------------------------------------------------------------------------- /float2string/speed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/float2string/speed.cpp -------------------------------------------------------------------------------- /floating-point/.gitignore: -------------------------------------------------------------------------------- 1 | float2int 2 | round2 3 | -------------------------------------------------------------------------------- /floating-point/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floating-point/Makefile -------------------------------------------------------------------------------- /floating-point/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floating-point/README.rst -------------------------------------------------------------------------------- /floating-point/float2int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floating-point/float2int.c -------------------------------------------------------------------------------- /floating-point/range01.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floating-point/range01.c -------------------------------------------------------------------------------- /floating-point/round.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floating-point/round.c -------------------------------------------------------------------------------- /floating-point/round2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floating-point/round2.c -------------------------------------------------------------------------------- /floating-point/test-round2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floating-point/test-round2.sh -------------------------------------------------------------------------------- /floor/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floor/Makefile -------------------------------------------------------------------------------- /floor/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floor/README.rst -------------------------------------------------------------------------------- /floor/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floor/demo.c -------------------------------------------------------------------------------- /floor/floor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floor/floor.c -------------------------------------------------------------------------------- /floor/ieee_double.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floor/ieee_double.h -------------------------------------------------------------------------------- /floor/print_double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/floor/print_double.c -------------------------------------------------------------------------------- /fopen_directory/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /fopen_directory/Makefile: -------------------------------------------------------------------------------- 1 | demo: fopen_directory.c 2 | gcc -Wall $< -o $@ 3 | 4 | clean: 5 | rm -f demo 6 | -------------------------------------------------------------------------------- /fopen_directory/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fopen_directory/README.rst -------------------------------------------------------------------------------- /fpc-compression/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fpc-compression/README.rst -------------------------------------------------------------------------------- /fpc-compression/compress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fpc-compression/compress.py -------------------------------------------------------------------------------- /fpc-compression/status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fpc-compression/status.py -------------------------------------------------------------------------------- /fpc-compression/uvint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/fpc-compression/uvint.py -------------------------------------------------------------------------------- /gcc-asmgoto/.gitignore: -------------------------------------------------------------------------------- 1 | demo1 2 | demo2 3 | -------------------------------------------------------------------------------- /gcc-asmgoto/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/gcc-asmgoto/Makefile -------------------------------------------------------------------------------- /gcc-asmgoto/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/gcc-asmgoto/README.txt -------------------------------------------------------------------------------- /gcc-asmgoto/asmgoto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/gcc-asmgoto/asmgoto.c -------------------------------------------------------------------------------- /hexprint/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/hexprint/.gitignore -------------------------------------------------------------------------------- /hexprint/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/hexprint/Makefile -------------------------------------------------------------------------------- /hexprint/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/hexprint/README.rst -------------------------------------------------------------------------------- /hexprint/branchless_hex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/hexprint/branchless_hex.c -------------------------------------------------------------------------------- /hexprint/hexprint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/hexprint/hexprint.c -------------------------------------------------------------------------------- /hexprint/measure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/hexprint/measure.sh -------------------------------------------------------------------------------- /identify-jpeg/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | images 3 | -------------------------------------------------------------------------------- /identify-jpeg/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/identify-jpeg/Cargo.lock -------------------------------------------------------------------------------- /identify-jpeg/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/identify-jpeg/Cargo.toml -------------------------------------------------------------------------------- /identify-jpeg/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/identify-jpeg/src/lib.rs -------------------------------------------------------------------------------- /is_sorted/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/.gitignore -------------------------------------------------------------------------------- /is_sorted/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/Makefile -------------------------------------------------------------------------------- /is_sorted/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/README.rst -------------------------------------------------------------------------------- /is_sorted/avx2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/avx2.cpp -------------------------------------------------------------------------------- /is_sorted/avx512.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/avx512.cpp -------------------------------------------------------------------------------- /is_sorted/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/benchmark.cpp -------------------------------------------------------------------------------- /is_sorted/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/scalar.cpp -------------------------------------------------------------------------------- /is_sorted/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /is_sorted/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/sse.cpp -------------------------------------------------------------------------------- /is_sorted/time_utils.h: -------------------------------------------------------------------------------- 1 | ../000helpers/time_utils.h -------------------------------------------------------------------------------- /is_sorted/unittest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/is_sorted/unittest.cpp -------------------------------------------------------------------------------- /iterater-over-bits/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/iterater-over-bits/Makefile -------------------------------------------------------------------------------- /iterater-over-bits/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/iterater-over-bits/main.cpp -------------------------------------------------------------------------------- /iterater-over-bits/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /itoa-divless/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/itoa-divless/.gitignore -------------------------------------------------------------------------------- /itoa-divless/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/itoa-divless/Makefile -------------------------------------------------------------------------------- /itoa-divless/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/itoa-divless/README.rst -------------------------------------------------------------------------------- /itoa-divless/itoa_divless.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/itoa-divless/itoa_divless.h -------------------------------------------------------------------------------- /itoa-divless/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/itoa-divless/verify.cpp -------------------------------------------------------------------------------- /itoa-divless/verify_sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/itoa-divless/verify_sse.cpp -------------------------------------------------------------------------------- /jarvis3d/3d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/jarvis3d/3d.js -------------------------------------------------------------------------------- /jarvis3d/giftwrapping2d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/jarvis3d/giftwrapping2d.js -------------------------------------------------------------------------------- /jarvis3d/giftwrapping3d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/jarvis3d/giftwrapping3d.js -------------------------------------------------------------------------------- /jarvis3d/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/jarvis3d/index.css -------------------------------------------------------------------------------- /jarvis3d/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/jarvis3d/index.html -------------------------------------------------------------------------------- /kill-gnulib-strstr/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /kill-gnulib-strstr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/kill-gnulib-strstr/Makefile -------------------------------------------------------------------------------- /kill-gnulib-strstr/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/kill-gnulib-strstr/demo.sh -------------------------------------------------------------------------------- /layouttrees/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/layouttrees/index.css -------------------------------------------------------------------------------- /layouttrees/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/layouttrees/index.html -------------------------------------------------------------------------------- /layouttrees/tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/layouttrees/tree.js -------------------------------------------------------------------------------- /layouttrees/tree_layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/layouttrees/tree_layout.js -------------------------------------------------------------------------------- /layouttrees/view.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/layouttrees/view.js -------------------------------------------------------------------------------- /linearsearch/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /linearsearch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linearsearch/Makefile -------------------------------------------------------------------------------- /linearsearch/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linearsearch/README.rst -------------------------------------------------------------------------------- /linearsearch/arglist.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linearsearch/arglist.hpp -------------------------------------------------------------------------------- /linearsearch/demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linearsearch/demo.cpp -------------------------------------------------------------------------------- /linearsearch/measure.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linearsearch/measure.hpp -------------------------------------------------------------------------------- /linearsearch/simd_list.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linearsearch/simd_list.hpp -------------------------------------------------------------------------------- /linux-cmd/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/README.txt -------------------------------------------------------------------------------- /linux-cmd/cmpprefix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/cmpprefix.c -------------------------------------------------------------------------------- /linux-cmd/cutbytes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/cutbytes.c -------------------------------------------------------------------------------- /linux-cmd/dumppalette.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/dumppalette.c -------------------------------------------------------------------------------- /linux-cmd/prefixeq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/prefixeq.c -------------------------------------------------------------------------------- /linux-cmd/sleep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/sleep.c -------------------------------------------------------------------------------- /linux-cmd/tail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/tail.c -------------------------------------------------------------------------------- /linux-cmd/tee.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/tee.c -------------------------------------------------------------------------------- /linux-cmd/tee.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/linux-cmd/tee.py -------------------------------------------------------------------------------- /loadppm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/loadppm/README.md -------------------------------------------------------------------------------- /loadppm/load_ppm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/loadppm/load_ppm.c -------------------------------------------------------------------------------- /loadppm/load_ppm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/loadppm/load_ppm.h -------------------------------------------------------------------------------- /lookup-in-string-set/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | unittest 3 | benchmark 4 | -------------------------------------------------------------------------------- /lookup-in-string-set/article/go.txt: -------------------------------------------------------------------------------- 1 | ../datasets/go.txt -------------------------------------------------------------------------------- /lookup-in-string-set/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /lookup-in-string-set/bytelookup/common.go: -------------------------------------------------------------------------------- 1 | ../hash/common.go -------------------------------------------------------------------------------- /lookup-in-string-set/bytelookup/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /lookup-in-string-set/hash.cpp.in: -------------------------------------------------------------------------------- 1 | hash/hash.cpp.in -------------------------------------------------------------------------------- /lookup-in-string-set/hash/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /lookup-in-string-set/pext.cpp.in: -------------------------------------------------------------------------------- 1 | pext/pext.cpp.in -------------------------------------------------------------------------------- /lookup-in-string-set/pext/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /lookup-in-string-set/pshufb/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /lookup-in-string-set/scripts/benchmark_parser.py: -------------------------------------------------------------------------------- 1 | ../../scripts/benchmark_parser.py -------------------------------------------------------------------------------- /lookup-in-string-set/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /lookup-in-string-set/split/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /lookup-in-string-set/testdata/.gitignore: -------------------------------------------------------------------------------- 1 | *.txt 2 | -------------------------------------------------------------------------------- /lookup_32bpp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/lookup_32bpp/.gitignore -------------------------------------------------------------------------------- /lookup_32bpp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/lookup_32bpp/Makefile -------------------------------------------------------------------------------- /lookup_32bpp/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/lookup_32bpp/README.rst -------------------------------------------------------------------------------- /lookup_32bpp/lookup_32bpp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/lookup_32bpp/lookup_32bpp.c -------------------------------------------------------------------------------- /loongarch64-vldi/.gitignore: -------------------------------------------------------------------------------- 1 | vldi-const 2 | *.s 3 | -------------------------------------------------------------------------------- /loongarch64-vldi/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/loongarch64-vldi/Makefile -------------------------------------------------------------------------------- /loongarch64/.gitignore: -------------------------------------------------------------------------------- 1 | const 2 | -------------------------------------------------------------------------------- /loongarch64/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/loongarch64/Makefile -------------------------------------------------------------------------------- /loongarch64/const.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/loongarch64/const.cpp -------------------------------------------------------------------------------- /memory-fragmentation/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /mix_32bpp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/.gitignore -------------------------------------------------------------------------------- /mix_32bpp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/Makefile -------------------------------------------------------------------------------- /mix_32bpp/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/README.rst -------------------------------------------------------------------------------- /mix_32bpp/blend_scalar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/blend_scalar.c -------------------------------------------------------------------------------- /mix_32bpp/blend_sse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/blend_sse.c -------------------------------------------------------------------------------- /mix_32bpp/blend_sse4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/blend_sse4.c -------------------------------------------------------------------------------- /mix_32bpp/blend_sse42.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/blend_sse42.c -------------------------------------------------------------------------------- /mix_32bpp/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/demo.c -------------------------------------------------------------------------------- /mix_32bpp/mix_32bpp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/mix_32bpp.c -------------------------------------------------------------------------------- /mix_32bpp/proof/swar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mix_32bpp/proof/swar.py -------------------------------------------------------------------------------- /mmx-string/mmx_string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mmx-string/mmx_string.c -------------------------------------------------------------------------------- /movmask/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /movmask/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/movmask/Makefile -------------------------------------------------------------------------------- /movmask/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/movmask/README -------------------------------------------------------------------------------- /movmask/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/movmask/demo.c -------------------------------------------------------------------------------- /movmask/movmask.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/movmask/movmask.c -------------------------------------------------------------------------------- /movmask/proof.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/movmask/proof.py -------------------------------------------------------------------------------- /mxcsr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/.gitignore -------------------------------------------------------------------------------- /mxcsr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/Makefile -------------------------------------------------------------------------------- /mxcsr/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/README.rst -------------------------------------------------------------------------------- /mxcsr/fpclassify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/fpclassify.c -------------------------------------------------------------------------------- /mxcsr/mxcsr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/mxcsr.c -------------------------------------------------------------------------------- /mxcsr/test_denormal_speed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/test_denormal_speed.c -------------------------------------------------------------------------------- /mxcsr/test_divide_by_zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/test_divide_by_zero.c -------------------------------------------------------------------------------- /mxcsr/test_flush_to_zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/test_flush_to_zero.c -------------------------------------------------------------------------------- /mxcsr/time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/mxcsr/time.c -------------------------------------------------------------------------------- /parallel-and-bitmaps/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /parallel-and-bitmaps/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parallel-and-bitmaps/time.h -------------------------------------------------------------------------------- /parse_decimal/.gitignore: -------------------------------------------------------------------------------- 1 | validate_input 2 | -------------------------------------------------------------------------------- /parse_decimal/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parse_decimal/Makefile -------------------------------------------------------------------------------- /parse_rfc_date/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parse_rfc_date/.gitignore -------------------------------------------------------------------------------- /parse_rfc_date/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parse_rfc_date/Makefile -------------------------------------------------------------------------------- /parse_rfc_date/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parse_rfc_date/README.rst -------------------------------------------------------------------------------- /parse_rfc_date/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /parse_rfc_date/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parse_rfc_date/scalar.cpp -------------------------------------------------------------------------------- /parse_rfc_date/sse-dump.h: -------------------------------------------------------------------------------- 1 | ../000helpers/sse-dump.h -------------------------------------------------------------------------------- /parse_rfc_date/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parse_rfc_date/sse.cpp -------------------------------------------------------------------------------- /parseip4/.gitignore: -------------------------------------------------------------------------------- 1 | unittest 2 | benchmark 3 | -------------------------------------------------------------------------------- /parseip4/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/Makefile -------------------------------------------------------------------------------- /parseip4/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/README.rst -------------------------------------------------------------------------------- /parseip4/article/table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/article/table.py -------------------------------------------------------------------------------- /parseip4/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/benchmark.cpp -------------------------------------------------------------------------------- /parseip4/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /parseip4/common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/common.cpp -------------------------------------------------------------------------------- /parseip4/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/common.h -------------------------------------------------------------------------------- /parseip4/generator_sse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/generator_sse.py -------------------------------------------------------------------------------- /parseip4/generator_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/generator_v2.py -------------------------------------------------------------------------------- /parseip4/generator_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/generator_v3.py -------------------------------------------------------------------------------- /parseip4/generator_v4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/generator_v4.py -------------------------------------------------------------------------------- /parseip4/generator_v5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/generator_v5.py -------------------------------------------------------------------------------- /parseip4/generator_v6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/generator_v6.py -------------------------------------------------------------------------------- /parseip4/generator_v7/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /parseip4/generator_v7/bitmap.go: -------------------------------------------------------------------------------- 1 | ../hashv5/bitmap.go -------------------------------------------------------------------------------- /parseip4/generator_v7/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /parseip4/generator_v8.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/generator_v8.py -------------------------------------------------------------------------------- /parseip4/glibc_ref.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/glibc_ref.cpp -------------------------------------------------------------------------------- /parseip4/glibc_ref.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/glibc_ref.h -------------------------------------------------------------------------------- /parseip4/go_ref.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/go_ref.cpp -------------------------------------------------------------------------------- /parseip4/go_ref.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/go_ref.h -------------------------------------------------------------------------------- /parseip4/hashv5/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /parseip4/hashv5/bitmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/hashv5/bitmap.go -------------------------------------------------------------------------------- /parseip4/hashv5/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /parseip4/hashv5/input.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/hashv5/input.go -------------------------------------------------------------------------------- /parseip4/hashv5/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/hashv5/main.go -------------------------------------------------------------------------------- /parseip4/hashv5/patterns.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/hashv5/patterns.go -------------------------------------------------------------------------------- /parseip4/hashv5/threads.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/hashv5/threads.go -------------------------------------------------------------------------------- /parseip4/hashv6/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /parseip4/hashv6/bitmap.go: -------------------------------------------------------------------------------- 1 | ../hashv5/bitmap.go -------------------------------------------------------------------------------- /parseip4/hashv6/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /parseip4/hashv6/input.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/hashv6/input.go -------------------------------------------------------------------------------- /parseip4/hashv6/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/hashv6/main.go -------------------------------------------------------------------------------- /parseip4/hashv6/threads.go: -------------------------------------------------------------------------------- 1 | ../hashv5/threads.go -------------------------------------------------------------------------------- /parseip4/naive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/naive.cpp -------------------------------------------------------------------------------- /parseip4/naive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/naive.h -------------------------------------------------------------------------------- /parseip4/scripts/format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/scripts/format.py -------------------------------------------------------------------------------- /parseip4/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /parseip4/scripts/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /parseip4/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse.cpp -------------------------------------------------------------------------------- /parseip4/sse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse.h -------------------------------------------------------------------------------- /parseip4/sse_parse.cpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse_parse.cpp.inl -------------------------------------------------------------------------------- /parseip4/sse_v2.cpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse_v2.cpp.inl -------------------------------------------------------------------------------- /parseip4/sse_v3.cpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse_v3.cpp.inl -------------------------------------------------------------------------------- /parseip4/sse_v4.cpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse_v4.cpp.inl -------------------------------------------------------------------------------- /parseip4/sse_v5.cpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse_v5.cpp.inl -------------------------------------------------------------------------------- /parseip4/sse_v6.cpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse_v6.cpp.inl -------------------------------------------------------------------------------- /parseip4/sse_v7.cpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse_v7.cpp.inl -------------------------------------------------------------------------------- /parseip4/sse_v8.cpp.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/sse_v8.cpp.inl -------------------------------------------------------------------------------- /parseip4/swar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/swar.cpp -------------------------------------------------------------------------------- /parseip4/swar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/swar.h -------------------------------------------------------------------------------- /parseip4/unittest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/parseip4/unittest.cpp -------------------------------------------------------------------------------- /pdep_soft_emu/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /pdep_soft_emu/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pdep_soft_emu/Makefile -------------------------------------------------------------------------------- /pdep_soft_emu/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pdep_soft_emu/README.rst -------------------------------------------------------------------------------- /pext_soft_emu/.gitignore: -------------------------------------------------------------------------------- 1 | verify 2 | parse_string 3 | -------------------------------------------------------------------------------- /pext_soft_emu/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pext_soft_emu/Makefile -------------------------------------------------------------------------------- /pext_soft_emu/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pext_soft_emu/README.rst -------------------------------------------------------------------------------- /pext_soft_emu/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pext_soft_emu/common.c -------------------------------------------------------------------------------- /pext_soft_emu/pext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pext_soft_emu/pext.c -------------------------------------------------------------------------------- /pext_soft_emu/verify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pext_soft_emu/verify.c -------------------------------------------------------------------------------- /pixconv16bpp-32bpp/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | test*x* 3 | -------------------------------------------------------------------------------- /pixconv16bpp-32bpp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pixconv16bpp-32bpp/Makefile -------------------------------------------------------------------------------- /powfraction/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /powfraction/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/powfraction/README.rst -------------------------------------------------------------------------------- /powfraction/go.mod: -------------------------------------------------------------------------------- 1 | module powfraction 2 | -------------------------------------------------------------------------------- /powfraction/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/powfraction/main.go -------------------------------------------------------------------------------- /powfraction/new.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/powfraction/new.txt -------------------------------------------------------------------------------- /powfraction/old.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/powfraction/old.txt -------------------------------------------------------------------------------- /powfraction/perf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/powfraction/perf_test.go -------------------------------------------------------------------------------- /print_float/float2string.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/print_float/float2string.cc -------------------------------------------------------------------------------- /print_float/make_precalc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/print_float/make_precalc.c -------------------------------------------------------------------------------- /print_float/precalc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/print_float/precalc.c -------------------------------------------------------------------------------- /print_float/qualify_float.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/print_float/qualify_float.c -------------------------------------------------------------------------------- /pygtk/MaskedEntry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pygtk/MaskedEntry.png -------------------------------------------------------------------------------- /pygtk/MaskedEntry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pygtk/MaskedEntry.py -------------------------------------------------------------------------------- /pygtk/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pygtk/README.rst -------------------------------------------------------------------------------- /pygtk/fixed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pygtk/fixed.py -------------------------------------------------------------------------------- /pygtk/pythonlistmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pygtk/pythonlistmodel.py -------------------------------------------------------------------------------- /pygtk/query_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pygtk/query_view.py -------------------------------------------------------------------------------- /pygtk/show_rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pygtk/show_rgb.png -------------------------------------------------------------------------------- /pygtk/show_rgb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/pygtk/show_rgb.py -------------------------------------------------------------------------------- /reduce/reduce-samples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/reduce/reduce-samples.py -------------------------------------------------------------------------------- /restructuredtext/.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/restructuredtext/.flake8 -------------------------------------------------------------------------------- /restructuredtext/.gitignore: -------------------------------------------------------------------------------- 1 | x86doc* 2 | -------------------------------------------------------------------------------- /restructuredtext/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/restructuredtext/Makefile -------------------------------------------------------------------------------- /restructuredtext/myroles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/restructuredtext/myroles.py -------------------------------------------------------------------------------- /reverse_tab/.gitignore: -------------------------------------------------------------------------------- 1 | revtab 2 | -------------------------------------------------------------------------------- /reverse_tab/Makefile: -------------------------------------------------------------------------------- 1 | revtab: reverse_tab.c 2 | $(CC) -m32 $^ -o $@ 3 | -------------------------------------------------------------------------------- /reverse_tab/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/reverse_tab/README.rst -------------------------------------------------------------------------------- /reverse_tab/reverse_tab.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/reverse_tab/reverse_tab.c -------------------------------------------------------------------------------- /reverse_tab/test_core2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/reverse_tab/test_core2.sh -------------------------------------------------------------------------------- /satadd-pix16bpp/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | test 3 | -------------------------------------------------------------------------------- /satadd-pix16bpp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/satadd-pix16bpp/Makefile -------------------------------------------------------------------------------- /satadd-pix16bpp/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/satadd-pix16bpp/README.rst -------------------------------------------------------------------------------- /satadd-pix16bpp/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/satadd-pix16bpp/demo.c -------------------------------------------------------------------------------- /satadd-pix16bpp/mmx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/satadd-pix16bpp/mmx.c -------------------------------------------------------------------------------- /satadd-pix16bpp/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/satadd-pix16bpp/test.c -------------------------------------------------------------------------------- /satadd-pix16bpp/x86.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/satadd-pix16bpp/x86.c -------------------------------------------------------------------------------- /scripts/benchmark_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/scripts/benchmark_parser.py -------------------------------------------------------------------------------- /scripts/cpuflags.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/scripts/cpuflags.py -------------------------------------------------------------------------------- /scripts/hwfingerprint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/scripts/hwfingerprint.py -------------------------------------------------------------------------------- /scripts/table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/scripts/table.py -------------------------------------------------------------------------------- /scripts/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/scripts/utils.py -------------------------------------------------------------------------------- /set-intersection/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | out.csv 3 | config.h 4 | -------------------------------------------------------------------------------- /set-intersection/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/set-intersection/Makefile -------------------------------------------------------------------------------- /set-intersection/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/set-intersection/README -------------------------------------------------------------------------------- /set-intersection/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/set-intersection/main.cpp -------------------------------------------------------------------------------- /set-intersection/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /set-intersection/scripts/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /shoelace-improved/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /shoelace-improved/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/shoelace-improved/Makefile -------------------------------------------------------------------------------- /shoelace-improved/intel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/shoelace-improved/intel.cpp -------------------------------------------------------------------------------- /shoelace-improved/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/shoelace-improved/test.cpp -------------------------------------------------------------------------------- /shoelace-improved/time_utils.h: -------------------------------------------------------------------------------- 1 | ../000helpers/time_utils.h -------------------------------------------------------------------------------- /simd-all-bytes-equal/avx2.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-all-bytes-equal/avx2.s -------------------------------------------------------------------------------- /simd-all-bytes-equal/sse.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-all-bytes-equal/sse.s -------------------------------------------------------------------------------- /simd-anim/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-anim/README.rst -------------------------------------------------------------------------------- /simd-anim/animate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-anim/animate.py -------------------------------------------------------------------------------- /simd-anim/simd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-anim/simd.png -------------------------------------------------------------------------------- /simd-anim/sisd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-anim/sisd.png -------------------------------------------------------------------------------- /simd-basic/.gitignore: -------------------------------------------------------------------------------- 1 | test-* 2 | -------------------------------------------------------------------------------- /simd-basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-basic/Makefile -------------------------------------------------------------------------------- /simd-basic/bit-to-bytemask/ansi.cpp: -------------------------------------------------------------------------------- 1 | ../../000helpers/ansi.cpp -------------------------------------------------------------------------------- /simd-basic/bit-to-bytemask/config.h: -------------------------------------------------------------------------------- 1 | ../config.h -------------------------------------------------------------------------------- /simd-basic/broadcast-byte/ansi.cpp: -------------------------------------------------------------------------------- 1 | ../../000helpers/ansi.cpp -------------------------------------------------------------------------------- /simd-basic/broadcast-byte/config.h: -------------------------------------------------------------------------------- 1 | ../config.h -------------------------------------------------------------------------------- /simd-basic/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-basic/config.h -------------------------------------------------------------------------------- /simd-basic/extract-32bit-word/ansi.cpp: -------------------------------------------------------------------------------- 1 | ../../000helpers/ansi.cpp -------------------------------------------------------------------------------- /simd-basic/extract-32bit-word/config.h: -------------------------------------------------------------------------------- 1 | ../config.h -------------------------------------------------------------------------------- /simd-basic/reverse-bytes/ansi.cpp: -------------------------------------------------------------------------------- 1 | ../../000helpers/ansi.cpp -------------------------------------------------------------------------------- /simd-basic/reverse-bytes/config.h: -------------------------------------------------------------------------------- 1 | ../config.h -------------------------------------------------------------------------------- /simd-bit-mask/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /simd-bit-mask/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-bit-mask/Makefile -------------------------------------------------------------------------------- /simd-bit-mask/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-bit-mask/README.rst -------------------------------------------------------------------------------- /simd-bit-mask/demo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-bit-mask/demo.txt -------------------------------------------------------------------------------- /simd-case/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.s 3 | -------------------------------------------------------------------------------- /simd-case/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-case/Makefile -------------------------------------------------------------------------------- /simd-case/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-case/README.rst -------------------------------------------------------------------------------- /simd-case/example1-avx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-case/example1-avx.cpp -------------------------------------------------------------------------------- /simd-case/example1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-case/example1.cpp -------------------------------------------------------------------------------- /simd-case/example2-avx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-case/example2-avx.cpp -------------------------------------------------------------------------------- /simd-case/example2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-case/example2.cpp -------------------------------------------------------------------------------- /simd-case/translator/benchmark.h: -------------------------------------------------------------------------------- 1 | ../../000helpers/benchmark.h -------------------------------------------------------------------------------- /simd-count-bytes/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.rst 3 | benchmark_* 4 | unittests_* 5 | -------------------------------------------------------------------------------- /simd-count-bytes/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/Makefile -------------------------------------------------------------------------------- /simd-count-bytes/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/README.rst -------------------------------------------------------------------------------- /simd-count-bytes/all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/all.h -------------------------------------------------------------------------------- /simd-count-bytes/avx2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/avx2.cpp -------------------------------------------------------------------------------- /simd-count-bytes/avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/avx2.h -------------------------------------------------------------------------------- /simd-count-bytes/avx512bw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/avx512bw.h -------------------------------------------------------------------------------- /simd-count-bytes/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /simd-count-bytes/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/scalar.cpp -------------------------------------------------------------------------------- /simd-count-bytes/scalar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/scalar.h -------------------------------------------------------------------------------- /simd-count-bytes/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /simd-count-bytes/scripts/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /simd-count-bytes/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/sse.cpp -------------------------------------------------------------------------------- /simd-count-bytes/sse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-count-bytes/sse.h -------------------------------------------------------------------------------- /simd-heap/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-heap/.gitignore -------------------------------------------------------------------------------- /simd-heap/is_heap/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-heap/is_heap/Makefile -------------------------------------------------------------------------------- /simd-heap/is_heap/benchmark.h: -------------------------------------------------------------------------------- 1 | ../../000helpers/benchmark.h -------------------------------------------------------------------------------- /simd-heap/is_heap/results/.gitignore: -------------------------------------------------------------------------------- 1 | *.rst 2 | -------------------------------------------------------------------------------- /simd-heap/is_heap/results/benchmark_parser.py: -------------------------------------------------------------------------------- 1 | ../../../scripts/benchmark_parser.py -------------------------------------------------------------------------------- /simd-heap/is_heap/results/table.py: -------------------------------------------------------------------------------- 1 | ../../../scripts/table.py -------------------------------------------------------------------------------- /simd-heap/is_heap/results/utils.py: -------------------------------------------------------------------------------- 1 | ../../../scripts/utils.py -------------------------------------------------------------------------------- /simd-heap/push_heap/benchmark.h: -------------------------------------------------------------------------------- 1 | ../../000helpers/benchmark.h -------------------------------------------------------------------------------- /simd-min-index/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/.gitignore -------------------------------------------------------------------------------- /simd-min-index/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/Makefile -------------------------------------------------------------------------------- /simd-min-index/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/README.rst -------------------------------------------------------------------------------- /simd-min-index/all.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/all.cpp -------------------------------------------------------------------------------- /simd-min-index/all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/all.h -------------------------------------------------------------------------------- /simd-min-index/avx2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/avx2.cpp -------------------------------------------------------------------------------- /simd-min-index/avx512f.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/avx512f.cpp -------------------------------------------------------------------------------- /simd-min-index/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /simd-min-index/results/skylake.meta: -------------------------------------------------------------------------------- 1 | Compiler: GCC 7.3.0 2 | CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz 3 | -------------------------------------------------------------------------------- /simd-min-index/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/scalar.cpp -------------------------------------------------------------------------------- /simd-min-index/scripts/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /simd-min-index/scripts/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /simd-min-index/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/sse.cpp -------------------------------------------------------------------------------- /simd-min-index/unittest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-min-index/unittest.cpp -------------------------------------------------------------------------------- /simd-multi-vec-dist/.gitignore: -------------------------------------------------------------------------------- 1 | benchmark 2 | *.txt 3 | -------------------------------------------------------------------------------- /simd-multi-vec-dist/all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-multi-vec-dist/all.h -------------------------------------------------------------------------------- /simd-multi-vec-dist/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /simd-multi-vec-dist/script/benchmark_parser.py: -------------------------------------------------------------------------------- 1 | ../../scripts/benchmark_parser.py -------------------------------------------------------------------------------- /simd-multi-vec-dist/script/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /simd-multi-vec-dist/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-multi-vec-dist/sse.cpp -------------------------------------------------------------------------------- /simd-multi-vec-dist/sse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-multi-vec-dist/sse.h -------------------------------------------------------------------------------- /simd-multi-vec-mul/.gitignore: -------------------------------------------------------------------------------- 1 | benchmark 2 | -------------------------------------------------------------------------------- /simd-multi-vec-mul/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-multi-vec-mul/Makefile -------------------------------------------------------------------------------- /simd-multi-vec-mul/all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-multi-vec-mul/all.h -------------------------------------------------------------------------------- /simd-multi-vec-mul/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /simd-multi-vec-mul/scalar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-multi-vec-mul/scalar.h -------------------------------------------------------------------------------- /simd-multi-vec-mul/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-multi-vec-mul/sse.cpp -------------------------------------------------------------------------------- /simd-multi-vec-mul/sse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-multi-vec-mul/sse.h -------------------------------------------------------------------------------- /simd-parse-hex/.gitignore: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /simd-parse-hex/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-parse-hex/Makefile -------------------------------------------------------------------------------- /simd-parse-hex/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-parse-hex/README.rst -------------------------------------------------------------------------------- /simd-parse-hex/algorithm1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-parse-hex/algorithm1.h -------------------------------------------------------------------------------- /simd-parse-hex/algorithm2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-parse-hex/algorithm2.h -------------------------------------------------------------------------------- /simd-parse-hex/validate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-parse-hex/validate.cpp -------------------------------------------------------------------------------- /simd-pdep-pext/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-pdep-pext/.gitignore -------------------------------------------------------------------------------- /simd-pdep-pext/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-pdep-pext/Makefile -------------------------------------------------------------------------------- /simd-pdep-pext/argparse.cpp: -------------------------------------------------------------------------------- 1 | ../000helpers/argparse.cpp -------------------------------------------------------------------------------- /simd-pdep-pext/benchmark.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-pdep-pext/benchmark.h -------------------------------------------------------------------------------- /simd-pdep-pext/impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-pdep-pext/impl.cpp -------------------------------------------------------------------------------- /simd-pdep-pext/results/.gitignore: -------------------------------------------------------------------------------- 1 | *.rst 2 | -------------------------------------------------------------------------------- /simd-pdep-pext/results/benchmark_parser.py: -------------------------------------------------------------------------------- 1 | ../../scripts/benchmark_parser.py -------------------------------------------------------------------------------- /simd-pdep-pext/results/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /simd-pdep-pext/results/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /simd-pdep-pext/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-pdep-pext/scalar.cpp -------------------------------------------------------------------------------- /simd-random/.gitignore: -------------------------------------------------------------------------------- 1 | benchmark 2 | -------------------------------------------------------------------------------- /simd-random/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-random/Makefile -------------------------------------------------------------------------------- /simd-random/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-random/benchmark.cpp -------------------------------------------------------------------------------- /simd-random/lcm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-random/lcm.h -------------------------------------------------------------------------------- /simd-random/see_variant1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-random/see_variant1.h -------------------------------------------------------------------------------- /simd-random/sse_variant1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-random/sse_variant1.h -------------------------------------------------------------------------------- /simd-random/sse_variant2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-random/sse_variant2.h -------------------------------------------------------------------------------- /simd-random/time_utils.h: -------------------------------------------------------------------------------- 1 | ../000helpers/time_utils.h -------------------------------------------------------------------------------- /simd-switch/.gitignore: -------------------------------------------------------------------------------- 1 | benchmark 2 | -------------------------------------------------------------------------------- /simd-switch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-switch/Makefile -------------------------------------------------------------------------------- /simd-switch/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-switch/benchmark.cpp -------------------------------------------------------------------------------- /simd-switch/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /simd-switch/functions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/simd-switch/functions.cpp -------------------------------------------------------------------------------- /sse-atoi/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /sse-atoi/Makefile: -------------------------------------------------------------------------------- 1 | demo: sse-atoi.c 2 | $(CC) -O3 -m32 $^ -o $@ 3 | -------------------------------------------------------------------------------- /sse-atoi/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-atoi/README.rst -------------------------------------------------------------------------------- /sse-atoi/sse-atoi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-atoi/sse-atoi.c -------------------------------------------------------------------------------- /sse-compress/.gitignore: -------------------------------------------------------------------------------- 1 | verify 2 | benchmark 3 | -------------------------------------------------------------------------------- /sse-compress/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-compress/Makefile -------------------------------------------------------------------------------- /sse-compress/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-compress/benchmark.cpp -------------------------------------------------------------------------------- /sse-compress/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /sse-compress/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-compress/scalar.cpp -------------------------------------------------------------------------------- /sse-compress/simdutf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-compress/simdutf.cpp -------------------------------------------------------------------------------- /sse-compress/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-compress/verify.cpp -------------------------------------------------------------------------------- /sse-dotprod/.gitignore: -------------------------------------------------------------------------------- 1 | speed 2 | -------------------------------------------------------------------------------- /sse-dotprod/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-dotprod/Makefile -------------------------------------------------------------------------------- /sse-dotprod/scalar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-dotprod/scalar.c -------------------------------------------------------------------------------- /sse-dotprod/speed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-dotprod/speed.cpp -------------------------------------------------------------------------------- /sse-dotprod/sse-dpps.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-dotprod/sse-dpps.c -------------------------------------------------------------------------------- /sse-dotprod/sse-naive.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-dotprod/sse-naive.c -------------------------------------------------------------------------------- /sse-lzcnt/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /sse-lzcnt/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-lzcnt/Makefile -------------------------------------------------------------------------------- /sse-lzcnt/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-lzcnt/README.rst -------------------------------------------------------------------------------- /sse-lzcnt/sse-lzcnt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-lzcnt/sse-lzcnt.cpp -------------------------------------------------------------------------------- /sse-normal-distr/.gitignore: -------------------------------------------------------------------------------- 1 | benchmark 2 | -------------------------------------------------------------------------------- /sse-normal-distr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-normal-distr/Makefile -------------------------------------------------------------------------------- /sse-normal-distr/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /sse-normal-distr/f1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-normal-distr/f1.cpp -------------------------------------------------------------------------------- /sse-normal-distr/f2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-normal-distr/f2.cpp -------------------------------------------------------------------------------- /sse-normal-distr/noop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-normal-distr/noop.h -------------------------------------------------------------------------------- /sse-normal-distr/scalar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-normal-distr/scalar.h -------------------------------------------------------------------------------- /sse-normal-distr/sse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-normal-distr/sse.h -------------------------------------------------------------------------------- /sse-normal-distr/sse_fun.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-normal-distr/sse_fun.h -------------------------------------------------------------------------------- /sse-sin-cos/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sin-cos/.gitignore -------------------------------------------------------------------------------- /sse-sin-cos/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sin-cos/Makefile -------------------------------------------------------------------------------- /sse-sin-cos/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sin-cos/README.rst -------------------------------------------------------------------------------- /sse-sin-cos/sse-sin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sin-cos/sse-sin.c -------------------------------------------------------------------------------- /sse-sin-cos/taylor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sin-cos/taylor.c -------------------------------------------------------------------------------- /sse-sin-cos/test_accuracy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sin-cos/test_accuracy.c -------------------------------------------------------------------------------- /sse-sin-cos/test_speed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sin-cos/test_speed.c -------------------------------------------------------------------------------- /sse-sumbytes/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/.gitignore -------------------------------------------------------------------------------- /sse-sumbytes/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/README.rst -------------------------------------------------------------------------------- /sse-sumbytes/int8_t/all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/int8_t/all.h -------------------------------------------------------------------------------- /sse-sumbytes/int8_t/avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/int8_t/avx2.h -------------------------------------------------------------------------------- /sse-sumbytes/int8_t/benchmark.h: -------------------------------------------------------------------------------- 1 | ../../000helpers/benchmark.h -------------------------------------------------------------------------------- /sse-sumbytes/int8_t/gather_results.sh: -------------------------------------------------------------------------------- 1 | ../uint8_t/gather_results.sh -------------------------------------------------------------------------------- /sse-sumbytes/int8_t/scripts: -------------------------------------------------------------------------------- 1 | ../../simd-min-index/scripts/ -------------------------------------------------------------------------------- /sse-sumbytes/int8_t/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/int8_t/sse.cpp -------------------------------------------------------------------------------- /sse-sumbytes/int8_t/sse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/int8_t/sse.h -------------------------------------------------------------------------------- /sse-sumbytes/uint16_t/all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/uint16_t/all.h -------------------------------------------------------------------------------- /sse-sumbytes/uint16_t/benchmark.h: -------------------------------------------------------------------------------- 1 | ../../000helpers/benchmark.h -------------------------------------------------------------------------------- /sse-sumbytes/uint16_t/sse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/uint16_t/sse.h -------------------------------------------------------------------------------- /sse-sumbytes/uint8_t/all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/uint8_t/all.h -------------------------------------------------------------------------------- /sse-sumbytes/uint8_t/avx2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/uint8_t/avx2.h -------------------------------------------------------------------------------- /sse-sumbytes/uint8_t/benchmark.h: -------------------------------------------------------------------------------- 1 | ../../000helpers/benchmark.h -------------------------------------------------------------------------------- /sse-sumbytes/uint8_t/scripts: -------------------------------------------------------------------------------- 1 | ../../simd-min-index/scripts/ -------------------------------------------------------------------------------- /sse-sumbytes/uint8_t/sse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-sumbytes/uint8_t/sse.h -------------------------------------------------------------------------------- /sse-trie/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *.o 3 | *.txt 4 | bin/* 5 | 6 | -------------------------------------------------------------------------------- /sse-trie/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/Makefile -------------------------------------------------------------------------------- /sse-trie/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/README.rst -------------------------------------------------------------------------------- /sse-trie/bin/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sse-trie/c/trie-binary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/c/trie-binary.c -------------------------------------------------------------------------------- /sse-trie/c/trie-linear.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/c/trie-linear.c -------------------------------------------------------------------------------- /sse-trie/histogram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/histogram.c -------------------------------------------------------------------------------- /sse-trie/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/test.c -------------------------------------------------------------------------------- /sse-trie/testall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/testall.sh -------------------------------------------------------------------------------- /sse-trie/trie-sse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/trie-sse.c -------------------------------------------------------------------------------- /sse-trie/trie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/trie.c -------------------------------------------------------------------------------- /sse-trie/trie.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-trie/trie.h -------------------------------------------------------------------------------- /sse-uint32-float/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /sse-uint32-float/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-uint32-float/Makefile -------------------------------------------------------------------------------- /sse-uint32-float/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-uint32-float/README.rst -------------------------------------------------------------------------------- /sse-utoa/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | verify 3 | benchmark 4 | -------------------------------------------------------------------------------- /sse-utoa/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/Makefile -------------------------------------------------------------------------------- /sse-utoa/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/README.rst -------------------------------------------------------------------------------- /sse-utoa/asm-helpers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/asm-helpers.c -------------------------------------------------------------------------------- /sse-utoa/benchmark.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/benchmark.c -------------------------------------------------------------------------------- /sse-utoa/experiment.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/experiment.sh -------------------------------------------------------------------------------- /sse-utoa/intrin-helpers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/intrin-helpers.c -------------------------------------------------------------------------------- /sse-utoa/procedures.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/procedures.c -------------------------------------------------------------------------------- /sse-utoa/sse-utoa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/sse-utoa.c -------------------------------------------------------------------------------- /sse-utoa/sse32-asm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/sse32-asm.c -------------------------------------------------------------------------------- /sse-utoa/sse32-intrin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/sse32-intrin.c -------------------------------------------------------------------------------- /sse-utoa/sse32_2-asm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/sse32_2-asm.c -------------------------------------------------------------------------------- /sse-utoa/sse32_2-intrin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/sse32_2-intrin.c -------------------------------------------------------------------------------- /sse-utoa/sse64-asm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/sse64-asm.c -------------------------------------------------------------------------------- /sse-utoa/sse64-intrin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/sse64-intrin.c -------------------------------------------------------------------------------- /sse-utoa/verify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse-utoa/verify.c -------------------------------------------------------------------------------- /sse/.gitignore: -------------------------------------------------------------------------------- 1 | simd-abs-sub-uint 2 | -------------------------------------------------------------------------------- /sse/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/Makefile -------------------------------------------------------------------------------- /sse/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/README.rst -------------------------------------------------------------------------------- /sse/crossprodSSE.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/crossprodSSE.asm -------------------------------------------------------------------------------- /sse/dotprodSSE.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/dotprodSSE.asm -------------------------------------------------------------------------------- /sse/normvecSSE.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/normvecSSE.asm -------------------------------------------------------------------------------- /sse/pcmpestri.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/pcmpestri.c -------------------------------------------------------------------------------- /sse/pcmpistri.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/pcmpistri.c -------------------------------------------------------------------------------- /sse/simd-abs-sub-uint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/simd-abs-sub-uint.c -------------------------------------------------------------------------------- /sse/sse-aux.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-aux.c -------------------------------------------------------------------------------- /sse/sse-crossprod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-crossprod.c -------------------------------------------------------------------------------- /sse/sse-dotprod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-dotprod.c -------------------------------------------------------------------------------- /sse/sse-dotprod4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-dotprod4.c -------------------------------------------------------------------------------- /sse/sse-matmult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-matmult.c -------------------------------------------------------------------------------- /sse/sse-matvec-mult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-matvec-mult.c -------------------------------------------------------------------------------- /sse/sse-matvecmult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-matvecmult.c -------------------------------------------------------------------------------- /sse/sse-transpose.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-transpose.c -------------------------------------------------------------------------------- /sse/sse-vecmat-mult.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse-vecmat-mult.c -------------------------------------------------------------------------------- /sse/sse3-dotprod.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse3-dotprod.S -------------------------------------------------------------------------------- /sse/sse4-insertionsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse4-insertionsort.c -------------------------------------------------------------------------------- /sse/sse4-matvec-mult.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse4-matvec-mult.S -------------------------------------------------------------------------------- /sse/sse4-string-instr.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse/sse4-string-instr.S -------------------------------------------------------------------------------- /sse4-mandelbrot/.gitignore: -------------------------------------------------------------------------------- 1 | *.pgm 2 | fractal* 3 | -------------------------------------------------------------------------------- /sse4-mandelbrot/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse4-mandelbrot/Makefile -------------------------------------------------------------------------------- /sse4-mandelbrot/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse4-mandelbrot/README.rst -------------------------------------------------------------------------------- /sse4-mandelbrot/fpu-proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse4-mandelbrot/fpu-proc.c -------------------------------------------------------------------------------- /sse4-mandelbrot/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/sse4-mandelbrot/main.c -------------------------------------------------------------------------------- /stdmap-speedup/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /stdmap-speedup/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/stdmap-speedup/Makefile -------------------------------------------------------------------------------- /stdmap-speedup/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/stdmap-speedup/README.rst -------------------------------------------------------------------------------- /stl-int-set/.gitignore: -------------------------------------------------------------------------------- 1 | benchmark 2 | -------------------------------------------------------------------------------- /stl-int-set/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/stl-int-set/Makefile -------------------------------------------------------------------------------- /stl-int-set/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /stl-int-set/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/stl-int-set/test.cpp -------------------------------------------------------------------------------- /strstr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/.gitignore -------------------------------------------------------------------------------- /strstr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/Makefile -------------------------------------------------------------------------------- /strstr/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/README.rst -------------------------------------------------------------------------------- /strstr/analyze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/analyze.py -------------------------------------------------------------------------------- /strstr/make_words.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/make_words.sh -------------------------------------------------------------------------------- /strstr/strstr-libc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/strstr-libc.cpp -------------------------------------------------------------------------------- /strstr/strstr-stdstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/strstr-stdstring.cpp -------------------------------------------------------------------------------- /strstr/strstr32.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/strstr32.cpp -------------------------------------------------------------------------------- /strstr/strstr64.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/strstr64.cpp -------------------------------------------------------------------------------- /strstr/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/test.cpp -------------------------------------------------------------------------------- /strstr/verify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/strstr/verify.cpp -------------------------------------------------------------------------------- /suggestions/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | -------------------------------------------------------------------------------- /suggestions/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/suggestions/Cargo.lock -------------------------------------------------------------------------------- /suggestions/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/suggestions/Cargo.toml -------------------------------------------------------------------------------- /suggestions/output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/suggestions/output.txt -------------------------------------------------------------------------------- /suggestions/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/suggestions/src/main.rs -------------------------------------------------------------------------------- /suggestions/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/suggestions/test.py -------------------------------------------------------------------------------- /swar-any-equals/.gitignore: -------------------------------------------------------------------------------- 1 | unittest 2 | benchmark 3 | -------------------------------------------------------------------------------- /swar-any-equals/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-any-equals/Makefile -------------------------------------------------------------------------------- /swar-any-equals/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-any-equals/README.rst -------------------------------------------------------------------------------- /swar-any-equals/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /swar-any-equals/better.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-any-equals/better.cpp -------------------------------------------------------------------------------- /swar-any-equals/better.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-any-equals/better.h -------------------------------------------------------------------------------- /swar-any-equals/reference.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-any-equals/reference.h -------------------------------------------------------------------------------- /swar-any-equals/subtract.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-any-equals/subtract.h -------------------------------------------------------------------------------- /swar-utf8-length/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-utf8-length/.gitignore -------------------------------------------------------------------------------- /swar-utf8-length/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-utf8-length/Makefile -------------------------------------------------------------------------------- /swar-utf8-length/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-utf8-length/README.rst -------------------------------------------------------------------------------- /swar-utf8-length/all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-utf8-length/all.h -------------------------------------------------------------------------------- /swar-utf8-length/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /swar-utf8-length/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-utf8-length/scalar.cpp -------------------------------------------------------------------------------- /swar-utf8-length/scalar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-utf8-length/scalar.h -------------------------------------------------------------------------------- /swar-utf8-length/swar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-utf8-length/swar.cpp -------------------------------------------------------------------------------- /swar-utf8-length/swar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/swar-utf8-length/swar.h -------------------------------------------------------------------------------- /ternlogconst/expr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/ternlogconst/expr.js -------------------------------------------------------------------------------- /ternlogconst/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/ternlogconst/screen.png -------------------------------------------------------------------------------- /text-mode-view-img/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/text-mode-view-img/img.png -------------------------------------------------------------------------------- /tkinter/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tkinter/README.rst -------------------------------------------------------------------------------- /tkinter/tkcolorpicker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tkinter/tkcolorpicker.py -------------------------------------------------------------------------------- /tkinter/tkinter-arrows.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tkinter/tkinter-arrows.py -------------------------------------------------------------------------------- /tkinter/tkinter-attribs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tkinter/tkinter-attribs.py -------------------------------------------------------------------------------- /tkinter/tkinter-pindex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tkinter/tkinter-pindex.py -------------------------------------------------------------------------------- /tkinter/tkinter-scan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tkinter/tkinter-scan.py -------------------------------------------------------------------------------- /tkinter/tkinter-tagorid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tkinter/tkinter-tagorid.py -------------------------------------------------------------------------------- /tkinter/tkinter-vertedit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tkinter/tkinter-vertedit.py -------------------------------------------------------------------------------- /tree-lca/.gitignore: -------------------------------------------------------------------------------- 1 | *.dot 2 | __pycache__ 3 | -------------------------------------------------------------------------------- /tree-lca/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tree-lca/README.rst -------------------------------------------------------------------------------- /tree-lca/dot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tree-lca/dot.py -------------------------------------------------------------------------------- /tree-lca/example.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tree-lca/example.dot -------------------------------------------------------------------------------- /tree-lca/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tree-lca/example.png -------------------------------------------------------------------------------- /tree-lca/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tree-lca/main.py -------------------------------------------------------------------------------- /tree-lca/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/tree-lca/node.py -------------------------------------------------------------------------------- /ttyscreenshot/.gitignore: -------------------------------------------------------------------------------- 1 | ttyscreenshot 2 | -------------------------------------------------------------------------------- /ttyscreenshot/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/ttyscreenshot/Makefile -------------------------------------------------------------------------------- /ttyscreenshot/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/ttyscreenshot/README.rst -------------------------------------------------------------------------------- /ttyscreenshot/alsa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/ttyscreenshot/alsa.png -------------------------------------------------------------------------------- /ttyscreenshot/mc8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/ttyscreenshot/mc8.png -------------------------------------------------------------------------------- /ttyscreenshot/mc9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/ttyscreenshot/mc9.png -------------------------------------------------------------------------------- /u16div/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/.gitignore -------------------------------------------------------------------------------- /u16div/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/Makefile -------------------------------------------------------------------------------- /u16div/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/README.rst -------------------------------------------------------------------------------- /u16div/argparse.cpp: -------------------------------------------------------------------------------- 1 | ../000helpers/argparse.cpp -------------------------------------------------------------------------------- /u16div/avx2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/avx2.cpp -------------------------------------------------------------------------------- /u16div/avx512.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/avx512.cpp -------------------------------------------------------------------------------- /u16div/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/benchmark.cpp -------------------------------------------------------------------------------- /u16div/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /u16div/impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/impl.cpp -------------------------------------------------------------------------------- /u16div/rcp_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/rcp_tests.cpp -------------------------------------------------------------------------------- /u16div/results/.gitignore: -------------------------------------------------------------------------------- 1 | *.rst 2 | -------------------------------------------------------------------------------- /u16div/results/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/results/Makefile -------------------------------------------------------------------------------- /u16div/results/benchmark_parser.py: -------------------------------------------------------------------------------- 1 | ../../scripts/benchmark_parser.py -------------------------------------------------------------------------------- /u16div/results/format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/results/format.py -------------------------------------------------------------------------------- /u16div/results/icelake.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/results/icelake.txt -------------------------------------------------------------------------------- /u16div/results/ryzen7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/results/ryzen7.txt -------------------------------------------------------------------------------- /u16div/results/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /u16div/results/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /u16div/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/scalar.cpp -------------------------------------------------------------------------------- /u16div/unittest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u16div/unittest.cpp -------------------------------------------------------------------------------- /u8div/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/.gitignore -------------------------------------------------------------------------------- /u8div/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/Makefile -------------------------------------------------------------------------------- /u8div/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/README.rst -------------------------------------------------------------------------------- /u8div/avx2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/avx2.cpp -------------------------------------------------------------------------------- /u8div/avx2_long_div.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/avx2_long_div.cpp -------------------------------------------------------------------------------- /u8div/avx512.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/avx512.cpp -------------------------------------------------------------------------------- /u8div/avx512_long_div.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/avx512_long_div.cpp -------------------------------------------------------------------------------- /u8div/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/benchmark.cpp -------------------------------------------------------------------------------- /u8div/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /u8div/cmp_check.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/cmp_check.cpp -------------------------------------------------------------------------------- /u8div/impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/impl.cpp -------------------------------------------------------------------------------- /u8div/long_div.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/long_div.css -------------------------------------------------------------------------------- /u8div/long_div.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/long_div.html -------------------------------------------------------------------------------- /u8div/long_div.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/long_div.js -------------------------------------------------------------------------------- /u8div/proof.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/proof.py -------------------------------------------------------------------------------- /u8div/rcp_diff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/rcp_diff.cpp -------------------------------------------------------------------------------- /u8div/rcp_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/rcp_tests.cpp -------------------------------------------------------------------------------- /u8div/results/.gitignore: -------------------------------------------------------------------------------- 1 | *.rst 2 | -------------------------------------------------------------------------------- /u8div/results/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/results/Makefile -------------------------------------------------------------------------------- /u8div/results/alderlake.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/results/alderlake.txt -------------------------------------------------------------------------------- /u8div/results/benchmark_parser.py: -------------------------------------------------------------------------------- 1 | ../../scripts/benchmark_parser.py -------------------------------------------------------------------------------- /u8div/results/format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/results/format.py -------------------------------------------------------------------------------- /u8div/results/icelake.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/results/icelake.txt -------------------------------------------------------------------------------- /u8div/results/ryzen7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/results/ryzen7.txt -------------------------------------------------------------------------------- /u8div/results/skylake-x.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/results/skylake-x.txt -------------------------------------------------------------------------------- /u8div/results/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /u8div/results/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /u8div/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/scalar.cpp -------------------------------------------------------------------------------- /u8div/sse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/sse.cpp -------------------------------------------------------------------------------- /u8div/sse_long_div.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/sse_long_div.cpp -------------------------------------------------------------------------------- /u8div/unittest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/u8div/unittest.cpp -------------------------------------------------------------------------------- /uops-histogram/.gitignore: -------------------------------------------------------------------------------- 1 | *.xml 2 | *.txt 3 | -------------------------------------------------------------------------------- /uops-histogram/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/uops-histogram/Makefile -------------------------------------------------------------------------------- /uops-histogram/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/uops-histogram/README.rst -------------------------------------------------------------------------------- /uops-histogram/extract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/uops-histogram/extract.py -------------------------------------------------------------------------------- /uops-histogram/histogram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/uops-histogram/histogram.py -------------------------------------------------------------------------------- /utf32-change-case/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/utf32-change-case/Makefile -------------------------------------------------------------------------------- /utf32-change-case/argparse.cpp: -------------------------------------------------------------------------------- 1 | ../000helpers/argparse.cpp -------------------------------------------------------------------------------- /utf32-change-case/avx2-dump.h: -------------------------------------------------------------------------------- 1 | ../000helpers/avx2-dump.h -------------------------------------------------------------------------------- /utf32-change-case/avx2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/utf32-change-case/avx2.cpp -------------------------------------------------------------------------------- /utf32-change-case/benchmark.h: -------------------------------------------------------------------------------- 1 | ../000helpers/benchmark.h -------------------------------------------------------------------------------- /utf32-change-case/datasets/.gitignore: -------------------------------------------------------------------------------- 1 | *.txt 2 | *.html 3 | *.utf32* 4 | -------------------------------------------------------------------------------- /utf32-change-case/impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/utf32-change-case/impl.cpp -------------------------------------------------------------------------------- /utf32-change-case/load_file.cpp: -------------------------------------------------------------------------------- 1 | ../000helpers/load_file.cpp -------------------------------------------------------------------------------- /utf32-change-case/results/benchmark_parser.py: -------------------------------------------------------------------------------- 1 | ../../scripts/benchmark_parser.py -------------------------------------------------------------------------------- /utf32-change-case/results/table.py: -------------------------------------------------------------------------------- 1 | ../../scripts/table.py -------------------------------------------------------------------------------- /utf32-change-case/results/utils.py: -------------------------------------------------------------------------------- 1 | ../../scripts/utils.py -------------------------------------------------------------------------------- /utf32-change-case/scripts/.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | extend-ignore = E501, E221 3 | -------------------------------------------------------------------------------- /utf32-change-case/scripts/article/.gitignore: -------------------------------------------------------------------------------- 1 | *.rst 2 | -------------------------------------------------------------------------------- /utf32-change-case/scripts/article/table.py: -------------------------------------------------------------------------------- 1 | ../../../scripts/table.py -------------------------------------------------------------------------------- /utf8-visualize/.gitignore: -------------------------------------------------------------------------------- 1 | ansi_printer 2 | -------------------------------------------------------------------------------- /utf8-visualize/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/utf8-visualize/Makefile -------------------------------------------------------------------------------- /vbyte-diff/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/vbyte-diff/README.rst -------------------------------------------------------------------------------- /vbyte-diff/vbyte.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/vbyte-diff/vbyte.py -------------------------------------------------------------------------------- /verb-parse/.gitignore: -------------------------------------------------------------------------------- 1 | benchmark 2 | -------------------------------------------------------------------------------- /verb-parse/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/verb-parse/Makefile -------------------------------------------------------------------------------- /verb-parse/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/verb-parse/README.rst -------------------------------------------------------------------------------- /verb-parse/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/verb-parse/benchmark.cpp -------------------------------------------------------------------------------- /verb-parse/http_verb.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/verb-parse/http_verb.cpp -------------------------------------------------------------------------------- /verb-parse/http_verb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/verb-parse/http_verb.h -------------------------------------------------------------------------------- /verb-parse/http_verbs.gperf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/verb-parse/http_verbs.gperf -------------------------------------------------------------------------------- /verb-parse/http_verbs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/verb-parse/http_verbs.txt -------------------------------------------------------------------------------- /verb-parse/time_utils.h: -------------------------------------------------------------------------------- 1 | ../000helpers/time_utils.h -------------------------------------------------------------------------------- /vim/SwitchHeader.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/vim/SwitchHeader.vim -------------------------------------------------------------------------------- /wide-bfs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/.gitignore -------------------------------------------------------------------------------- /wide-bfs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/Makefile -------------------------------------------------------------------------------- /wide-bfs/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/README.rst -------------------------------------------------------------------------------- /wide-bfs/avx512f.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/avx512f.cpp -------------------------------------------------------------------------------- /wide-bfs/benchmark.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/benchmark.cpp -------------------------------------------------------------------------------- /wide-bfs/benchmark.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/benchmark.h -------------------------------------------------------------------------------- /wide-bfs/config.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define bfs(x) __builtin_ctzl(x) 4 | -------------------------------------------------------------------------------- /wide-bfs/scalar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/scalar.cpp -------------------------------------------------------------------------------- /wide-bfs/validate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/validate.cpp -------------------------------------------------------------------------------- /wide-bfs/x86.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/wide-bfs/x86.cpp -------------------------------------------------------------------------------- /windows-colors/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WojciechMula/toys/HEAD/windows-colors/README.rst -------------------------------------------------------------------------------- /x86-self-modifying-code/.gitignore: -------------------------------------------------------------------------------- 1 | demo 2 | -------------------------------------------------------------------------------- /x86-self-modifying-code/Makefile: -------------------------------------------------------------------------------- 1 | demo: x86linux_smc.c 2 | $(CC) -m32 $^ -o $@ 3 | 4 | --------------------------------------------------------------------------------