/
redgpu
/
ispc
Обзор
Документация
Войти
/
redgpu
/
ispc
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/func-tests/test-150.ispc
16 строк
493 B
Trung Lê
Skip round-double tests on PPC64 due to LLVM 19 v2f64 froundeven ISel bug
16 мар 2026, 21:27
16 мар 2026, 21:27
c65ebf8
Код
Авторство
О чём код?
#include "test_static.isph" // rule: run on OS=!windows // rule: skip on cpu=tgllp // rule: skip on cpu=dg2 // rule: skip on target=generic.* // TODO: LLVM 19 PPC64 backend cannot select v2f64 froundeven; fixed in later LLVM versions. // rule: skip on arch=ppc64le task void f_f(uniform float RET[], uniform float aFOO[]) { double a = aFOO[programIndex]; RET[programIndex] = round(a+(0.50001d)); } task void result(uniform float RET[]) { RET[programIndex] = programIndex + 2; }