Home
last modified time | relevance | path

Searched refs:vecA (Results 1 – 11 of 11) sorted by relevance

/external/vixl/examples/aarch64/
Dadd2-vectors.cc112 uint8_t vecA[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, in main() local
119 uint8_t vecC[ARRAY_SIZE(vecA)]; in main()
122 VIXL_CHECK(ARRAY_SIZE(vecA) == ARRAY_SIZE(vecB)); in main()
125 for (unsigned i = 0; i < ARRAY_SIZE(vecA); i++) { in main()
126 vecC[i] = vecA[i] + vecB[i]; in main()
130 uintptr_t vecA_addr = reinterpret_cast<uintptr_t>(vecA); in main()
138 simulator.WriteXRegister(2, ARRAY_SIZE(vecA)); in main()
139 PrintVector(vecA, ARRAY_SIZE(vecA)); in main()
146 PrintVector(vecA, ARRAY_SIZE(vecA)); in main()
149 for (unsigned i = 0; i < ARRAY_SIZE(vecA); i++) { in main()
[all …]
/external/neven/Embedded/common/src/b_TensorEm/
DFlt16Vec2D.c159 struct bts_Flt16Vec2D bts_Flt16Vec2D_createVec16( struct bts_Int16Vec2D vecA, int16 bbpA ) in bts_Flt16Vec2D_createVec16() argument
162 vecL.xE = vecA.xE; in bts_Flt16Vec2D_createVec16()
163 vecL.yE = vecA.yE; in bts_Flt16Vec2D_createVec16()
305 struct bts_Flt16Vec2D bts_Flt16Vec2D_mul( struct bts_Flt16Vec2D vecA, int16 factorA, int32 bbpFacto… in bts_Flt16Vec2D_mul() argument
307 int32 xL = ( int32 ) vecA.xE * factorA; in bts_Flt16Vec2D_mul()
308 int32 yL = ( int32 ) vecA.yE * factorA; in bts_Flt16Vec2D_mul()
309 return bts_Flt16Vec2D_create32( xL, yL, bbpFactorA + vecA.bbpE ); in bts_Flt16Vec2D_mul()
314 struct bts_Int16Vec2D bts_Flt16Vec2D_int16Vec2D( struct bts_Flt16Vec2D vecA, int32 dstBbpA ) in bts_Flt16Vec2D_int16Vec2D() argument
317 int32 shiftL = vecA.bbpE - dstBbpA; in bts_Flt16Vec2D_int16Vec2D()
321 vecL.xE = ( ( vecA.xE >> ( shiftL - 1 ) ) + 1 ) >> 1; in bts_Flt16Vec2D_int16Vec2D()
[all …]
DFlt16Vec2D.h84 struct bts_Flt16Vec2D bts_Flt16Vec2D_createVec16( struct bts_Int16Vec2D vecA, int16 bbpA );
120 struct bts_Flt16Vec2D bts_Flt16Vec2D_mul( struct bts_Flt16Vec2D vecA, int16 factorA, int32 bbpFacto…
123 struct bts_Int16Vec2D bts_Flt16Vec2D_int16Vec2D( struct bts_Flt16Vec2D vecA, int32 dstBbpA );
DFlt16Vec3D.c306 struct bts_Flt16Vec3D bts_Flt16Vec3D_mul( struct bts_Flt16Vec3D vecA, int16 factorA, int32 bbpFacto… in bts_Flt16Vec3D_mul() argument
308 int32 xL = ( int32 ) vecA.xE * factorA; in bts_Flt16Vec3D_mul()
309 int32 yL = ( int32 ) vecA.yE * factorA; in bts_Flt16Vec3D_mul()
310 int32 zL = ( int32 ) vecA.zE * factorA; in bts_Flt16Vec3D_mul()
311 return bts_Flt16Vec3D_create32( xL, yL, zL, bbpFactorA + vecA.bbpE ); in bts_Flt16Vec3D_mul()
DRBFMap2D.c430 struct bts_Flt16Vec2D vecA ) in bts_RBFMap2D_mapVector() argument
442 struct bts_Flt16Vec2D altVecL = bts_Flt16Alt2D_mapFlt( &ptrA->altE, &vecA ); in bts_RBFMap2D_mapVector()
450 shL = vecA.bbpE - outBbpL; in bts_RBFMap2D_mapVector()
461 outBbpL = vecA.bbpE; in bts_RBFMap2D_mapVector()
482 int32 xL = vecA.xE; in bts_RBFMap2D_mapVector()
483 int32 yL = vecA.yE; in bts_RBFMap2D_mapVector()
484 int32 shiftL = ptrA->srcClusterE.bbpE - vecA.bbpE; in bts_RBFMap2D_mapVector()
520 shiftL = vecA.bbpE - ptrA->srcClusterE.bbpE; in bts_RBFMap2D_mapVector()
DFlt16Vec3D.h119 struct bts_Flt16Vec3D bts_Flt16Vec3D_mul( struct bts_Flt16Vec3D vecA, int16 factorA, int32 bbpFacto…
DRBFMap2D.h158 struct bts_Flt16Vec2D vecA );
/external/OpenCL-CTS/test_conformance/geometrics/
Dtest_geometrics_double.cpp138 void cross_product_double( const double *vecA, const double *vecB, double *outVector, double *error… in cross_product_double() argument
140 outVector[ 0 ] = ( vecA[ 1 ] * vecB[ 2 ] ) - ( vecA[ 2 ] * vecB[ 1 ] ); in cross_product_double()
141 outVector[ 1 ] = ( vecA[ 2 ] * vecB[ 0 ] ) - ( vecA[ 0 ] * vecB[ 2 ] ); in cross_product_double()
142 outVector[ 2 ] = ( vecA[ 0 ] * vecB[ 1 ] ) - ( vecA[ 1 ] * vecB[ 0 ] ); in cross_product_double()
145 …errorTolerances[ 0 ] = fmax( fabs( vecA[ 1 ] ), fmax( fabs( vecB[ 2 ] ), fmax( fabs( vecA[ 2 ] ), … in cross_product_double()
146 …errorTolerances[ 1 ] = fmax( fabs( vecA[ 2 ] ), fmax( fabs( vecB[ 0 ] ), fmax( fabs( vecA[ 0 ] ), … in cross_product_double()
147 …errorTolerances[ 2 ] = fmax( fabs( vecA[ 0 ] ), fmax( fabs( vecB[ 1 ] ), fmax( fabs( vecA[ 1 ] ), … in cross_product_double()
281 double getMaxValue_double( double vecA[], double vecB[], size_t vecSize ) in getMaxValue_double() argument
283 double a = fmax( fabs( vecA[ 0 ] ), fabs( vecB[ 0 ] ) ); in getMaxValue_double()
285 a = fmax( fabs( vecA[ i ] ), fmax( fabs( vecB[ i ] ), a ) ); in getMaxValue_double()
[all …]
Dtest_geometrics.cpp134 void cross_product( const float *vecA, const float *vecB, float *outVector, float *errorTolerances,… in cross_product() argument
136 outVector[ 0 ] = ( vecA[ 1 ] * vecB[ 2 ] ) - ( vecA[ 2 ] * vecB[ 1 ] ); in cross_product()
137 outVector[ 1 ] = ( vecA[ 2 ] * vecB[ 0 ] ) - ( vecA[ 0 ] * vecB[ 2 ] ); in cross_product()
138 outVector[ 2 ] = ( vecA[ 0 ] * vecB[ 1 ] ) - ( vecA[ 1 ] * vecB[ 0 ] ); in cross_product()
141 …errorTolerances[ 0 ] = fmaxf( fabsf( vecA[ 1 ] ), fmaxf( fabsf( vecB[ 2 ] ), fmaxf( fabsf( vecA[ 2… in cross_product()
142 …errorTolerances[ 1 ] = fmaxf( fabsf( vecA[ 2 ] ), fmaxf( fabsf( vecB[ 0 ] ), fmaxf( fabsf( vecA[ 0… in cross_product()
143 …errorTolerances[ 2 ] = fmaxf( fabsf( vecA[ 0 ] ), fmaxf( fabsf( vecB[ 1 ] ), fmaxf( fabsf( vecA[ 1… in cross_product()
275 float getMaxValue( float vecA[], float vecB[], size_t vecSize ) in getMaxValue() argument
277 float a = fmaxf( fabsf( vecA[ 0 ] ), fabsf( vecB[ 0 ] ) ); in getMaxValue()
279 a = fmaxf( fabsf( vecA[ i ] ), fmaxf( fabsf( vecB[ i ] ), a ) ); in getMaxValue()
[all …]
/external/neven/Embedded/common/src/b_BasicEm/
DMath.h154 void bbs_vecSqrNorm32( const int32* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA );
160 void bbs_vecSqrNorm16( const int16* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA );
165 uint32 bbs_vecNorm16( const int16* vecA, uint32 sizeA );
DMath.c939 void bbs_vecSqrNorm32( const int32* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA ) in bbs_vecSqrNorm32() argument
947 int32 vL = vecA[ iL ]; in bbs_vecSqrNorm32()
998 void bbs_vecSqrNorm16( const int16* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA ) in bbs_vecSqrNorm16() argument
1006 int32 vL = vecA[ iL ]; in bbs_vecSqrNorm16()
1037 uint32 bbs_vecNorm16( const int16* vecA, uint32 sizeA ) in bbs_vecNorm16() argument
1041 bbs_vecSqrNorm16( vecA, sizeA, &manL, &expL ); in bbs_vecNorm16()