Skip to content

Instantly share code, notes, and snippets.

View mattkretz's full-sized avatar

Matthias Kretz mattkretz

View GitHub Profile
@mattkretz
mattkretz / Changelog Vc 1.3.3.md
Last active November 27, 2017 15:52
Changelog Vc 1.3.3
  • 840ddfe Replace non-std types uint and ushort - Matthias Kretz
  • 898500c as discussed on the ML, introducing is_valid_vector_argument - Kay F. Jahnke
  • c62ac04 Revert "Trig: make XOP, FMA4, FAM, BMI2 part of the type" - Matthias Kretz
  • de9bcee Trig: make XOP, FMA4, FAM, BMI2 part of the type - Matthias Kretz
  • 5bcac28 CTest: apply skip_tests to travis branch - Matthias Kretz
  • 4ebd9ab CMake: check for MIC only on x86 - Matthias Kretz
  • 81cbab5 cpuid shall only exist on x86 - Matthias Kretz
  • 3facdff Drop _default and work around TSC non-portability - Matthias Kretz
  • [1ea3bf8](https://github.com/VcDevel/Vc/commi
@mattkretz
mattkretz / generate_canonical distribution.txt
Created January 26, 2018 07:50
Histogram of `std::generate_canonical` with `std::mt19937`
0x1.00000ep-8 [█████████▉ ] (5364) 0x1.00000ep-2 [█████████████████████████████▌] (677015) 0x1p+0 [ ] (0)
0x1.00000cp-8 [██████████████████████████████] (16094) 0x1.00000cp-2 [██████████████████████████████] (687737) 0x1.fffffep-1 [██████████████████████████████] (2037954)
0x1.00000ap-8 [██████████ ] (5377) 0x1.00000ap-2 [█████████████████████████████▌] (677262) 0x1.fffffcp-1 [████████████████████▏ ] (1368073)
0x1.000008p-8 [█████████████████████████████▍] (15817) 0x1.000008p-2 [█████████████████████████████▉] (686821) 0x1.fffffap-1 [███████████████████▉ ] (1357709)
0x1.000006p-8 [█████████▊ ] (5275) 0x1.000006p-2 [█████████████████████████████▍] (676012) 0x1.fffff8p-1 [████████████████████▏ ] (1368447)
0x1.000004p-8 [█████████████████████████████▊] (15960) 0x1.000004p-2 [█████████████████████████████▉] (687623) 0x1.fffff6p-1 [████
@mattkretz
mattkretz / Changelog Vc 1.4.0.md
Created October 1, 2018 12:41
Changelog Vc 1.4.0
  • 45a75e0a Adjust to new version.h path and fix commit - Matthias Kretz
  • 6c6b16c2 Document make_interleave_wrapper - Matthias Kretz
  • 98cc3c90 Use correct accessor for const memory - Matthias Kretz
  • af621f1f Rewrite operator return type deduction - Matthias Kretz
  • e519eae8 Test operator failures via sfinae_is_callable - Matthias Kretz
  • c9bba807 MSVC: work around C++ frontend bug - Matthias Kretz
  • 41c21fbb ICC uses movups, which doesn't break the ABI - Matthias Kretz
  • 67dc8e3b Fix workaround & disambiguate fixed_size simd_cast - Matthias Kretz
  • 9d9ad90d
@mattkretz
mattkretz / Changelog Vc 1.4.1.md
Created November 19, 2018 12:17
Changelog Vc 1.4.1
  • c0f61705 CMake: sanity test clang and std::tuple - Matthias Kretz
  • ee2809c8 Remove ICC workaround that now produces failures - Matthias Kretz
  • b32ae2b3 Fix alignment of doubles on -m32 - Matthias Kretz
  • 4f188f52 Remove alignment workaround that doesn't work - Matthias Kretz
  • 84d4e3d9 Include CXXFLAGS in builddir name - Matthias Kretz
  • 070d3217 Fix call to virtest skip - Matthias Kretz
  • 8c722c8e Fix i686 build - adra0
  • 3b678f75 Restore where(mask, SubscriptOperation) functionality - Matthias Kretz
  • 3ad5cd9e Fix GatherArguments usage to drop qualifi
@mattkretz
mattkretz / debug_gcc.vim
Created February 9, 2022 11:26
vim command "hack" to debug g++ in termdebug.vim
function! s:DebugGcc()
let file = expand("%:p")
let p = substitute(file, '/src/gcc-[^/]\+\zs/.*$', '', '').'/obj/gcc'
let driver = p.'/xg++'
let tmp = systemlist(driver.' "-###" -S -o- -O2 -std=c++20 -B '.p.' -I'.p.'/../x86_64-pc-linux-gnu/libstdc++-v3/include -I'.p.'/../x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu '.file)
let cc1plus = split(filter(tmp, 'v:val =~ "cc1plus"')[0], '\s\+')
execute "Termdebug ".cc1plus[0]
execute "Arguments ".join(cc1plus[1:], ' ')
call TermDebugSendCommand("source ".p."/.gdbinit")
endfunction