diff options
author | Gvozden Neskovic <[email protected]> | 2016-09-25 00:56:22 +0200 |
---|---|---|
committer | Gvozden Neskovic <[email protected]> | 2016-10-05 16:41:46 +0200 |
commit | 5bf703b8f381b6a8a89a2c251ba04dc9db59bcd6 (patch) | |
tree | ab3cd21b389d2784cc88e8e600fb5bde7ddb68ad /cmd/arcstat/arcstat.py | |
parent | 37f520db2d19389deb2a68065391ae2b229c6b50 (diff) |
Fletcher4: save/reload implementation context
Init, compute, and fini methods are changed to work on internal context object.
This is necessary because ABI does not guarantee that SIMD registers will be preserved
on function calls. This is technically the case in Linux kernel in between
`kfpu_begin()/kfpu_end()`, but it breaks user-space tests and some kernels that
don't require disabling preemption for using SIMD (osx).
Use scalar compute methods in-place for small buffers, and when the buffer size
does not meet SIMD size alignment.
Signed-off-by: Gvozden Neskovic <[email protected]>
Diffstat (limited to 'cmd/arcstat/arcstat.py')
0 files changed, 0 insertions, 0 deletions