3 ms·
Thanks! For anyone interested -- after spending multiple hours playing with it I found that it can emit C++ via the following flags: `--emit-c++ --target=gene
by KenanSulayman 7y ago
Thanks!
For anyone interested -- after spending multiple hours playing with it I found that it can emit C++ via the following flags:
`--emit-c++ --target=generic-$WIDTH`
where $WIDTH is
- 4 (sse4),
- 16 (16 * 32 = 512 bit aligned),
- 32 (32 * 32 = 1024 bit aligned),
- or 64 (64 * 32 = 2048 bit aligned)
Example with generic-4 on godbolt CE for the ISPC mandelbrot example program: https://ispc.godbolt.org/z/0x47SP https://ispc.godbolt.org/z/0x47SP.