2017-11-06 02:34:42 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
#include <simd/simd.h>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
|
|
|
|
struct _3
|
|
|
|
{
|
|
|
|
int4 _m0;
|
|
|
|
uint4 _m1;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _4
|
|
|
|
{
|
|
|
|
uint4 _m0;
|
|
|
|
int4 _m1;
|
|
|
|
};
|
|
|
|
|
|
|
|
kernel void main0(device _3& _5 [[buffer(0)]], device _4& _6 [[buffer(1)]])
|
|
|
|
{
|
2018-03-09 12:21:38 +00:00
|
|
|
int4 _22 = _5._m0;
|
|
|
|
uint4 _23 = _5._m1;
|
|
|
|
_6._m0 = uint4(int4(_23) >> _22);
|
|
|
|
_6._m0 = uint4(_22 >> int4(_23));
|
|
|
|
_6._m0 = uint4(int4(_23) >> int4(_23));
|
|
|
|
_6._m0 = uint4(_22 >> _22);
|
|
|
|
_6._m1 = int4(_23) >> int4(_23);
|
|
|
|
_6._m1 = _22 >> _22;
|
|
|
|
_6._m1 = int4(_23) >> _22;
|
|
|
|
_6._m1 = _22 >> int4(_23);
|
2017-11-06 02:34:42 +00:00
|
|
|
}
|
|
|
|
|