Comments (8)
You are correct. I invite a pull request.
from simdutf.
Should I change the references to Nehalem or just leave the technical misnomer as an implementation detail?
from simdutf.
Actually. I found a few other bugs with the CPUID check, it doesn't check if the OS enabled AVX support and it doesn't explicitly zero ECX for the second CPUID. Might as well fix both.
from simdutf.
Fixed as per #236 by @easyaspi314
Will be part of the next release.
from simdutf.
It seems that the commit was immediately reverted but the PR was locked.
from simdutf.
Indeed. I was told that the merged PR was causing problems to one corporate user whereas things worked fine for them before.
from simdutf.
Do you want me to add the part without the macOS check? That will cause macOS to be locked to AVX2 (due to the wonky AVX512 not being saved until a fault), but it will prevent operating systems that don't support AVX2/AVX512 from crashing.
from simdutf.
We will go with the current approach which is well tested and works for our users. If problems arise in real-world scenarios, we will take measures at that time.
from simdutf.
Related Issues (20)
- Support Latin 1 => UTF 8 (SSE) HOT 1
- Support Latin 1 => UTF 16 (SSE)
- Support Latin 1 <= UTF 16 (SSE)
- Support Latin 1 <= UTF 32 (SSE)
- Support Latin 1 <= UTF 8 (SSE)
- Optimize our UTF-8 to Latin 1 routines
- Write 'utf8_is_latin1', 'utf16_is_latin1' and 'utf32_is_latin1' routines [hypothetical] HOT 1
- validate_utf8_with_errors is insufficienty documented HOT 4
- Latin 1 <= UTF-16 (AVX-512)
- Latin 1 => UTF-16 (AVX-512)
- Latin 1 <= UTF-32 (AVX-512)
- count_code_points HOT 5
- Consider disabling the icelake kernel for Visual Studio 2019
- Building as a shared library but static is hardcoded HOT 2
- Build fails on armv7 FreeBSD 13.2
- simdutf 4 fails on node.js HOT 2
- Fix bele tests on armv7
- Streaming API for transcoding? HOT 5
- #define conflict (`ERROR_H`) HOT 1
- `convert_latin1_to_utf8` doesn't accept length field for `utf8_output` pointer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simdutf.