aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/or.spvtxt
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-06-25 01:08:45 +0200
committerAndrzej Janik <[email protected]>2021-06-25 01:08:45 +0200
commit9a568e2969abbb28e614991fca69f364f9e2354e (patch)
tree8debbbae4e9e10dfea1d47aa490844423907de0b /ptx/src/test/spirv_run/or.spvtxt
parent951c7558ccb2f8b14b31295faac7994c3ebdc4b5 (diff)
downloadZLUDA-9a568e2969abbb28e614991fca69f364f9e2354e.tar.gz
ZLUDA-9a568e2969abbb28e614991fca69f364f9e2354e.zip
Update tests
Diffstat (limited to 'ptx/src/test/spirv_run/or.spvtxt')
-rw-r--r--ptx/src/test/spirv_run/or.spvtxt10
1 files changed, 7 insertions, 3 deletions
diff --git a/ptx/src/test/spirv_run/or.spvtxt b/ptx/src/test/spirv_run/or.spvtxt
index fef3f40..82db00c 100644
--- a/ptx/src/test/spirv_run/or.spvtxt
+++ b/ptx/src/test/spirv_run/or.spvtxt
@@ -16,6 +16,8 @@
%_ptr_Function_ulong = OpTypePointer Function %ulong
%_ptr_Generic_ulong = OpTypePointer Generic %ulong
%ulong_8 = OpConstant %ulong 8
+ %uchar = OpTypeInt 8 0
+%_ptr_Generic_uchar = OpTypePointer Generic %uchar
%1 = OpFunction %void None %34
%8 = OpFunctionParameter %ulong
%9 = OpFunctionParameter %ulong
@@ -37,9 +39,11 @@
%12 = OpLoad %ulong %23 Aligned 8
OpStore %6 %12
%15 = OpLoad %ulong %4
- %22 = OpIAdd %ulong %15 %ulong_8
- %24 = OpConvertUToPtr %_ptr_Generic_ulong %22
- %14 = OpLoad %ulong %24 Aligned 8
+ %24 = OpConvertUToPtr %_ptr_Generic_ulong %15
+ %39 = OpBitcast %_ptr_Generic_uchar %24
+ %40 = OpInBoundsPtrAccessChain %_ptr_Generic_uchar %39 %ulong_8
+ %22 = OpBitcast %_ptr_Generic_ulong %40
+ %14 = OpLoad %ulong %22 Aligned 8
OpStore %7 %14
%17 = OpLoad %ulong %6
%18 = OpLoad %ulong %7