Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add non-bmi amd64 tests * Use BEXTRQ for extracting shifted values. * Move 0 check into getBits. * Remove ctx alloc. Sequences only, BMI: ``` benchmark old ns/op new ns/op delta Benchmark_seqdec_decode/n-12286-lits-13914-prev-9869-1990358-3296656-win-4194304.blk-32 91657 91114 -0.59% Benchmark_seqdec_decode/n-12485-lits-6960-prev-976039-2250252-2463561-win-4194304.blk-32 92392 90416 -2.14% Benchmark_seqdec_decode/n-14746-lits-14461-prev-209-8-1379909-win-4194304.blk-32 83022 79745 -3.95% Benchmark_seqdec_decode/n-1525-lits-1498-prev-2009476-797934-2994405-win-4194304.blk-32 9149 8856 -3.20% Benchmark_seqdec_decode/n-3478-lits-3628-prev-895243-2104056-2119329-win-4194304.blk-32 22402 22102 -1.34% Benchmark_seqdec_decode/n-8422-lits-5840-prev-168095-2298675-433830-win-4194304.blk-32 60844 60114 -1.20% Benchmark_seqdec_decode/n-1000-lits-1057-prev-21887-92-217-win-8388608.blk-32 5785 5879 +1.62% Benchmark_seqdec_decode/n-15134-lits-20798-prev-4882976-4884216-4474622-win-8388608.blk-32 118030 115597 -2.06% Benchmark_seqdec_decode/n-2-lits-0-prev-620601-689171-848-win-8388608.blk-32 135 64.3 -52.35% Benchmark_seqdec_decode/n-90-lits-67-prev-19498-23-19710-win-8388608.blk-32 648 589 -9.03% Benchmark_seqdec_decode/n-931-lits-1179-prev-36502-1526-1518-win-8388608.blk-32 5555 5467 -1.58% Benchmark_seqdec_decode/n-2898-lits-4062-prev-335-386-751-win-8388608.blk-32 17896 17605 -1.63% Benchmark_seqdec_decode/n-4056-lits-12419-prev-10792-66-309849-win-8388608.blk-32 27457 27232 -0.82% Benchmark_seqdec_decode/n-8028-lits-4568-prev-917-65-920-win-8388608.blk-32 59341 58158 -1.99% ``` No BMI: ``` benchmark old ns/op new ns/op delta Benchmark_seqdec_decodeNoBMI/n-12286-lits-13914-prev-9869-1990358-3296656-win-4194304.blk-32 114889 113333 -1.35% Benchmark_seqdec_decodeNoBMI/n-12485-lits-6960-prev-976039-2250252-2463561-win-4194304.blk-32 121269 119500 -1.46% Benchmark_seqdec_decodeNoBMI/n-14746-lits-14461-prev-209-8-1379909-win-4194304.blk-32 106986 102585 -4.11% Benchmark_seqdec_decodeNoBMI/n-1525-lits-1498-prev-2009476-797934-2994405-win-4194304.blk-32 10910 10304 -5.55% Benchmark_seqdec_decodeNoBMI/n-3478-lits-3628-prev-895243-2104056-2119329-win-4194304.blk-32 25965 24642 -5.10% Benchmark_seqdec_decodeNoBMI/n-8422-lits-5840-prev-168095-2298675-433830-win-4194304.blk-32 80183 77980 -2.75% Benchmark_seqdec_decodeNoBMI/n-1000-lits-1057-prev-21887-92-217-win-8388608.blk-32 6702 6369 -4.97% Benchmark_seqdec_decodeNoBMI/n-15134-lits-20798-prev-4882976-4884216-4474622-win-8388608.blk-32 151867 148752 -2.05% Benchmark_seqdec_decodeNoBMI/n-2-lits-0-prev-620601-689171-848-win-8388608.blk-32 139 46.8 -66.31% Benchmark_seqdec_decodeNoBMI/n-90-lits-67-prev-19498-23-19710-win-8388608.blk-32 744 609 -18.13% Benchmark_seqdec_decodeNoBMI/n-931-lits-1179-prev-36502-1526-1518-win-8388608.blk-32 6570 6083 -7.41% Benchmark_seqdec_decodeNoBMI/n-2898-lits-4062-prev-335-386-751-win-8388608.blk-32 20448 19955 -2.41% Benchmark_seqdec_decodeNoBMI/n-4056-lits-12419-prev-10792-66-309849-win-8388608.blk-32 34177 32790 -4.06% Benchmark_seqdec_decodeNoBMI/n-8028-lits-4568-prev-917-65-920-win-8388608.blk-32 77864 75628 -2.87% ```
- Loading branch information