You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the code, it treats anything starting with "neon" as an ARM feature, and everything else as x86.
I haven't tried running it yet, but I think this will break when run on any architecture that isn't ARM or X86.
(I am going to upstream some MIPS fixes to cpu_features, and I have several different MIPS workstations to test on. If I have time and I'm feeling brave enough, I might try writing a RISC-V port of CPU features.)
I think we may need a more general mechanism to say which features are part of which architecture.
=======
there's another problem with the code in this file. It assumes that the total number of cpu features, across all architectures, is less than or equal to the number of bits in an int. This is so it can set a bit in an int for each feature. This is not going to scale when volk is ported to more architectures. A bit for each feature of the architecture it's been compiled for would fit. A bit for every feature of every architecture volk has been ported to will eventually not fit.
The text was updated successfully, but these errors were encountered:
Looking at the code, it treats anything starting with "neon" as an ARM feature, and everything else as x86.
I haven't tried running it yet, but I think this will break when run on any architecture that isn't ARM or X86.
(I am going to upstream some MIPS fixes to cpu_features, and I have several different MIPS workstations to test on. If I have time and I'm feeling brave enough, I might try writing a RISC-V port of CPU features.)
I think we may need a more general mechanism to say which features are part of which architecture.
=======
there's another problem with the code in this file. It assumes that the total number of cpu features, across all architectures, is less than or equal to the number of bits in an int. This is so it can set a bit in an int for each feature. This is not going to scale when volk is ported to more architectures. A bit for each feature of the architecture it's been compiled for would fit. A bit for every feature of every architecture volk has been ported to will eventually not fit.
The text was updated successfully, but these errors were encountered: