Vc icon indicating copy to clipboard operation
Vc copied to clipboard

Enable SimdArray<uint8_t, N>.

Open max0x7ba opened this issue 5 years ago • 3 comments

Vc version / revision: 1.4.1 Operating System: CentOS release 6.10 (Final) / Ubuntu 18.04 with up-to-date patches. Compiler & Version: gcc-5.3 / gcc-8.2 Compiler Flags: -O3 -march=native CPU: Intel i7-4790 / Intel i7-7700k.

Testcase

#include <Vc/Vc>

int main() {
    Vc::SimdArray<uint8_t, 32> a;
}

Actual Results

The code fails to compile with the following error message:

Vc/common/simdarray.h:117:5: error: static assertion failed: SimdArray<T, N> may only be used with T = { double, float, int32_t, uint32_t, int16_t, uint16_t }

Expected Results

The code compiles.

max0x7ba avatar Mar 22 '19 12:03 max0x7ba

From what I understood, uint8_t isn't supported in the 1.4 branch, only the 2.0 branch supports it.

milianw avatar Mar 22 '19 14:03 milianw

From what I understood, uint8_t isn't supported in the 1.4 branch, only the 2.0 branch supports it.

I don't find branch 2.0 in https://github.com/VcDevel/Vc/branches/all

max0x7ba avatar Mar 22 '19 14:03 max0x7ba

@max0x7ba the master branch will become 2.0

milianw avatar Mar 24 '19 20:03 milianw