Lines Matching refs:DST
265 #define ZERO_4V( DST ) (DST)[0] = (DST)[1] = (DST)[2] = (DST)[3] = 0 argument
286 #define COPY_4V( DST, SRC ) \ argument
288 (DST)[0] = (SRC)[0]; \
289 (DST)[1] = (SRC)[1]; \
290 (DST)[2] = (SRC)[2]; \
291 (DST)[3] = (SRC)[3]; \
307 #define COPY_SZ_4V(DST, SZ, SRC) \ argument
310 case 4: (DST)[3] = (SRC)[3]; \
312 case 3: (DST)[2] = (SRC)[2]; \
314 case 2: (DST)[1] = (SRC)[1]; \
316 case 1: (DST)[0] = (SRC)[0]; \
322 #define COPY_CLEAN_4V(DST, SZ, SRC) \ argument
324 ASSIGN_4V( DST, 0, 0, 0, 1 ); \
325 COPY_SZ_4V( DST, SZ, SRC ); \
329 #define SUB_4V( DST, SRCA, SRCB ) \ argument
331 (DST)[0] = (SRCA)[0] - (SRCB)[0]; \
332 (DST)[1] = (SRCA)[1] - (SRCB)[1]; \
333 (DST)[2] = (SRCA)[2] - (SRCB)[2]; \
334 (DST)[3] = (SRCA)[3] - (SRCB)[3]; \
338 #define ADD_4V( DST, SRCA, SRCB ) \ argument
340 (DST)[0] = (SRCA)[0] + (SRCB)[0]; \
341 (DST)[1] = (SRCA)[1] + (SRCB)[1]; \
342 (DST)[2] = (SRCA)[2] + (SRCB)[2]; \
343 (DST)[3] = (SRCA)[3] + (SRCB)[3]; \
347 #define SCALE_4V( DST, SRCA, SRCB ) \ argument
349 (DST)[0] = (SRCA)[0] * (SRCB)[0]; \
350 (DST)[1] = (SRCA)[1] * (SRCB)[1]; \
351 (DST)[2] = (SRCA)[2] * (SRCB)[2]; \
352 (DST)[3] = (SRCA)[3] * (SRCB)[3]; \
356 #define ACC_4V( DST, SRC ) \ argument
358 (DST)[0] += (SRC)[0]; \
359 (DST)[1] += (SRC)[1]; \
360 (DST)[2] += (SRC)[2]; \
361 (DST)[3] += (SRC)[3]; \
365 #define ACC_SCALE_4V( DST, SRCA, SRCB ) \ argument
367 (DST)[0] += (SRCA)[0] * (SRCB)[0]; \
368 (DST)[1] += (SRCA)[1] * (SRCB)[1]; \
369 (DST)[2] += (SRCA)[2] * (SRCB)[2]; \
370 (DST)[3] += (SRCA)[3] * (SRCB)[3]; \
374 #define ACC_SCALE_SCALAR_4V( DST, S, SRCB ) \ argument
376 (DST)[0] += S * (SRCB)[0]; \
377 (DST)[1] += S * (SRCB)[1]; \
378 (DST)[2] += S * (SRCB)[2]; \
379 (DST)[3] += S * (SRCB)[3]; \
383 #define SCALE_SCALAR_4V( DST, S, SRCB ) \ argument
385 (DST)[0] = S * (SRCB)[0]; \
386 (DST)[1] = S * (SRCB)[1]; \
387 (DST)[2] = S * (SRCB)[2]; \
388 (DST)[3] = S * (SRCB)[3]; \
392 #define SELF_SCALE_SCALAR_4V( DST, S ) \ argument
394 (DST)[0] *= S; \
395 (DST)[1] *= S; \
396 (DST)[2] *= S; \
397 (DST)[3] *= S; \
408 #define ZERO_3V( DST ) (DST)[0] = (DST)[1] = (DST)[2] = 0 argument
417 #define COPY_3V( DST, SRC ) \ argument
419 (DST)[0] = (SRC)[0]; \
420 (DST)[1] = (SRC)[1]; \
421 (DST)[2] = (SRC)[2]; \
425 #define COPY_3V_CAST( DST, SRC, CAST ) \ argument
427 (DST)[0] = (CAST)(SRC)[0]; \
428 (DST)[1] = (CAST)(SRC)[1]; \
429 (DST)[2] = (CAST)(SRC)[2]; \
433 #define COPY_3FV( DST, SRC ) \ argument
436 (DST)[0] = _tmp[0]; \
437 (DST)[1] = _tmp[1]; \
438 (DST)[2] = _tmp[2]; \
442 #define SUB_3V( DST, SRCA, SRCB ) \ argument
444 (DST)[0] = (SRCA)[0] - (SRCB)[0]; \
445 (DST)[1] = (SRCA)[1] - (SRCB)[1]; \
446 (DST)[2] = (SRCA)[2] - (SRCB)[2]; \
450 #define ADD_3V( DST, SRCA, SRCB ) \ argument
452 (DST)[0] = (SRCA)[0] + (SRCB)[0]; \
453 (DST)[1] = (SRCA)[1] + (SRCB)[1]; \
454 (DST)[2] = (SRCA)[2] + (SRCB)[2]; \
458 #define SCALE_3V( DST, SRCA, SRCB ) \ argument
460 (DST)[0] = (SRCA)[0] * (SRCB)[0]; \
461 (DST)[1] = (SRCA)[1] * (SRCB)[1]; \
462 (DST)[2] = (SRCA)[2] * (SRCB)[2]; \
466 #define SELF_SCALE_3V( DST, SRC ) \ argument
468 (DST)[0] *= (SRC)[0]; \
469 (DST)[1] *= (SRC)[1]; \
470 (DST)[2] *= (SRC)[2]; \
474 #define ACC_3V( DST, SRC ) \ argument
476 (DST)[0] += (SRC)[0]; \
477 (DST)[1] += (SRC)[1]; \
478 (DST)[2] += (SRC)[2]; \
482 #define ACC_SCALE_3V( DST, SRCA, SRCB ) \ argument
484 (DST)[0] += (SRCA)[0] * (SRCB)[0]; \
485 (DST)[1] += (SRCA)[1] * (SRCB)[1]; \
486 (DST)[2] += (SRCA)[2] * (SRCB)[2]; \
490 #define SCALE_SCALAR_3V( DST, S, SRCB ) \ argument
492 (DST)[0] = S * (SRCB)[0]; \
493 (DST)[1] = S * (SRCB)[1]; \
494 (DST)[2] = S * (SRCB)[2]; \
498 #define ACC_SCALE_SCALAR_3V( DST, S, SRCB ) \ argument
500 (DST)[0] += S * (SRCB)[0]; \
501 (DST)[1] += S * (SRCB)[1]; \
502 (DST)[2] += S * (SRCB)[2]; \
506 #define SELF_SCALE_SCALAR_3V( DST, S ) \ argument
508 (DST)[0] *= S; \
509 (DST)[1] *= S; \
510 (DST)[2] *= S; \
514 #define ACC_SCALAR_3V( DST, S ) \ argument
516 (DST)[0] += S; \
517 (DST)[1] += S; \
518 (DST)[2] += S; \
537 #define ZERO_2V( DST ) (DST)[0] = (DST)[1] = 0 argument
540 #define COPY_2V( DST, SRC ) \ argument
542 (DST)[0] = (SRC)[0]; \
543 (DST)[1] = (SRC)[1]; \
547 #define COPY_2V_CAST( DST, SRC, CAST ) \ argument
549 (DST)[0] = (CAST)(SRC)[0]; \
550 (DST)[1] = (CAST)(SRC)[1]; \
554 #define COPY_2FV( DST, SRC ) \ argument
557 (DST)[0] = _tmp[0]; \
558 (DST)[1] = _tmp[1]; \
562 #define SUB_2V( DST, SRCA, SRCB ) \ argument
564 (DST)[0] = (SRCA)[0] - (SRCB)[0]; \
565 (DST)[1] = (SRCA)[1] - (SRCB)[1]; \
569 #define ADD_2V( DST, SRCA, SRCB ) \ argument
571 (DST)[0] = (SRCA)[0] + (SRCB)[0]; \
572 (DST)[1] = (SRCA)[1] + (SRCB)[1]; \
576 #define SCALE_2V( DST, SRCA, SRCB ) \ argument
578 (DST)[0] = (SRCA)[0] * (SRCB)[0]; \
579 (DST)[1] = (SRCA)[1] * (SRCB)[1]; \
583 #define ACC_2V( DST, SRC ) \ argument
585 (DST)[0] += (SRC)[0]; \
586 (DST)[1] += (SRC)[1]; \
590 #define ACC_SCALE_2V( DST, SRCA, SRCB ) \ argument
592 (DST)[0] += (SRCA)[0] * (SRCB)[0]; \
593 (DST)[1] += (SRCA)[1] * (SRCB)[1]; \
597 #define SCALE_SCALAR_2V( DST, S, SRCB ) \ argument
599 (DST)[0] = S * (SRCB)[0]; \
600 (DST)[1] = S * (SRCB)[1]; \
604 #define ACC_SCALE_SCALAR_2V( DST, S, SRCB ) \ argument
606 (DST)[0] += S * (SRCB)[0]; \
607 (DST)[1] += S * (SRCB)[1]; \
611 #define SELF_SCALE_SCALAR_2V( DST, S ) \ argument
613 (DST)[0] *= S; \
614 (DST)[1] *= S; \
618 #define ACC_SCALAR_2V( DST, S ) \ argument
620 (DST)[0] += S; \
621 (DST)[1] += S; \