Kovid Goyal
1d59bfade3
...
2024-02-25 09:57:38 +05:30
Kovid Goyal
fd7d0f8787
Fix event loop continuously ticking every input_delay seconds even when no input is available
2024-02-25 09:57:38 +05:30
Kovid Goyal
fa11858a72
Make bash integration tests more robust on macOS
2024-02-25 09:57:38 +05:30
Kovid Goyal
1293ee60e0
...
2024-02-25 09:57:38 +05:30
Kovid Goyal
66341aa28e
Make the env var controlling which SIMD level to use more capable
2024-02-25 09:57:38 +05:30
Kovid Goyal
73342411bc
Dont build any SIMD code when the target is neither ARM64 nor x86/amd64
2024-02-25 09:57:38 +05:30
Kovid Goyal
8dd6f9b07c
Get universal builds working again
...
Now we use lipo and build individually so we can pass the correct
compiler flags per arch
2024-02-25 09:57:38 +05:30
Kovid Goyal
7e77a196e6
Build only the SIMD code with SIMD compiler flags
2024-02-25 09:57:38 +05:30
Kovid Goyal
465616223c
Drop using the v2 microarch
...
No significant performance impact and small risk of breakage
2024-02-25 09:57:38 +05:30
Kovid Goyal
9d4193f4ea
Fix texture ref not useable on repurposed image object
2024-02-25 09:57:38 +05:30
Kovid Goyal
dafb876d75
Skip simd parser tests on machines without SIMD instructions
2024-02-25 09:57:38 +05:30
Kovid Goyal
4b846e0106
Turns out that using 256 bit code on ARM is slightly faster even though it is emulated with 128 bit registers
2024-02-25 09:57:38 +05:30
Kovid Goyal
76c6630084
Dont use 256 bit code paths on ARM
...
ARM only has 128 bit registers. simde simulates 256 bit operations using
them, which is fairly pointless for us.
2024-02-25 09:57:38 +05:30
Kovid Goyal
23a4012aeb
Add an env var to turn off use of SIMD instructions
2024-02-25 09:57:38 +05:30
Kovid Goyal
eee14ae148
Workaround for machines on GitHub Actions that incorrectly report CPU vector instruction availability
2024-02-25 09:57:37 +05:30
Kovid Goyal
b0ccaa09be
Clean up test env reporting
2024-02-25 09:57:37 +05:30
Kovid Goyal
bbaccfdaae
DRYer
2024-02-25 09:57:37 +05:30
Kovid Goyal
cb5a2cce53
...
2024-02-25 09:57:37 +05:30
Kovid Goyal
4fec11af05
Run dsymutil in post link phase
2024-02-25 09:57:37 +05:30
Kovid Goyal
5a9304e1b8
DRYer
2024-02-25 09:57:37 +05:30
Kovid Goyal
2b9c646c5b
Build dSYM bundles on CI
2024-02-25 09:57:37 +05:30
Kovid Goyal
6b6f3e0ece
...
2024-02-25 09:57:37 +05:30
Kovid Goyal
b560fe34c9
Give the functions for creating various objects unique names so they are easily recognized in macOS's non-fully-symolicated crash reports
2024-02-25 09:57:37 +05:30
Kovid Goyal
e5b27d066c
Output macOS crash reports on CI with nicer formatting
2024-02-25 09:57:37 +05:30
Kovid Goyal
8762a939c0
Dont specify arch/tune when building universal binary
2024-02-25 09:57:37 +05:30
Kovid Goyal
06da31019c
Micro-optimize clearing of lines
...
Use a doubling strategy to memset arrays to a fixed value. Makes the
memset O(log(N)) from O(N) in number of calls to memcpy.
2024-02-25 09:57:37 +05:30
Kovid Goyal
d0621cb82a
Better ipd crash report printing
2024-02-25 09:57:37 +05:30
Kovid Goyal
9935b5ddb2
...
2024-02-25 09:57:37 +05:30
Kovid Goyal
49d664bb0d
Fix incorrect line mapping when clearing screen using optimized code
2024-02-25 09:57:37 +05:30
Kovid Goyal
c6c0d0ed60
Sleep for a minute in the hope that macOS crash log will become available
2024-02-25 09:57:37 +05:30
Kovid Goyal
6f74d1b0c1
...
2024-02-25 09:57:36 +05:30
Kovid Goyal
5eb852532f
Use coredumpctl on Linux CI
2024-02-25 09:57:36 +05:30
Kovid Goyal
43e0281ab5
No ulimit on Linux CI
2024-02-25 09:57:36 +05:30
Kovid Goyal
99d1eec021
...
2024-02-25 09:57:36 +05:30
Kovid Goyal
0a158f3577
More attempts at finding a core dump on macOS
2024-02-25 09:57:36 +05:30
Kovid Goyal
89c431a624
Optimize implementation of clear screen escape code
2024-02-25 09:57:36 +05:30
Kovid Goyal
b48b70aedf
Speed up CSI benchmark by another 10%
2024-02-25 09:57:36 +05:30
Kovid Goyal
f105bc5f4e
...
2024-02-25 09:57:36 +05:30
Kovid Goyal
d5fae07ab7
More help text for the benchmark kitten
2024-02-25 09:57:36 +05:30
Kovid Goyal
58dbcf0840
...
2024-02-25 09:57:36 +05:30
Kovid Goyal
0340c3c8f7
Ensure CSI state reset at end of test
2024-02-25 09:57:36 +05:30
Kovid Goyal
d8a53fbafd
Retry on temp errors when reading from terminal
2024-02-25 09:57:36 +05:30
Kovid Goyal
b237e1b99f
...
2024-02-25 09:57:36 +05:30
Kovid Goyal
43f64f71e4
DRYer
2024-02-25 09:57:36 +05:30
Kovid Goyal
ceac074dad
Try to print the Apple crash report on test run failure
2024-02-25 09:57:36 +05:30
Kovid Goyal
903dd26a08
Sadly -march=x86-64-v2 is not the culprit for the intermittent SIGILL in macOS CI
2024-02-25 09:57:36 +05:30
Kovid Goyal
f0efb1cb19
Also clear screen at end of each loop when rendering
2024-02-25 09:57:35 +05:30
Kovid Goyal
4eb49b3320
Simplify benchmark kitten
...
On macOS reading from the same tty device file as we are writing too in
another thread gives continuous EAGAIN errors. We dont actually need
simultaneous read/write, so move the reads to the end.
2024-02-25 09:57:35 +05:30
Kovid Goyal
0fcb055246
tty: retry on temporary read errors
2024-02-25 09:57:35 +05:30
Kovid Goyal
61a89a14b6
Ignore temporary write failures in benchmark kitten
2024-02-25 09:57:35 +05:30