Lines Matching refs:DST
239 #define ZERO_4V( DST ) (DST)[0] = (DST)[1] = (DST)[2] = (DST)[3] = 0 argument
260 #define COPY_4V( DST, SRC ) \ argument
262 (DST)[0] = (SRC)[0]; \
263 (DST)[1] = (SRC)[1]; \
264 (DST)[2] = (SRC)[2]; \
265 (DST)[3] = (SRC)[3]; \
281 #define COPY_SZ_4V(DST, SZ, SRC) \ argument
284 case 4: (DST)[3] = (SRC)[3]; \
285 case 3: (DST)[2] = (SRC)[2]; \
286 case 2: (DST)[1] = (SRC)[1]; \
287 case 1: (DST)[0] = (SRC)[0]; \
293 #define COPY_CLEAN_4V(DST, SZ, SRC) \ argument
295 ASSIGN_4V( DST, 0, 0, 0, 1 ); \
296 COPY_SZ_4V( DST, SZ, SRC ); \
300 #define SUB_4V( DST, SRCA, SRCB ) \ argument
302 (DST)[0] = (SRCA)[0] - (SRCB)[0]; \
303 (DST)[1] = (SRCA)[1] - (SRCB)[1]; \
304 (DST)[2] = (SRCA)[2] - (SRCB)[2]; \
305 (DST)[3] = (SRCA)[3] - (SRCB)[3]; \
309 #define ADD_4V( DST, SRCA, SRCB ) \ argument
311 (DST)[0] = (SRCA)[0] + (SRCB)[0]; \
312 (DST)[1] = (SRCA)[1] + (SRCB)[1]; \
313 (DST)[2] = (SRCA)[2] + (SRCB)[2]; \
314 (DST)[3] = (SRCA)[3] + (SRCB)[3]; \
318 #define SCALE_4V( DST, SRCA, SRCB ) \ argument
320 (DST)[0] = (SRCA)[0] * (SRCB)[0]; \
321 (DST)[1] = (SRCA)[1] * (SRCB)[1]; \
322 (DST)[2] = (SRCA)[2] * (SRCB)[2]; \
323 (DST)[3] = (SRCA)[3] * (SRCB)[3]; \
327 #define ACC_4V( DST, SRC ) \ argument
329 (DST)[0] += (SRC)[0]; \
330 (DST)[1] += (SRC)[1]; \
331 (DST)[2] += (SRC)[2]; \
332 (DST)[3] += (SRC)[3]; \
336 #define ACC_SCALE_4V( DST, SRCA, SRCB ) \ argument
338 (DST)[0] += (SRCA)[0] * (SRCB)[0]; \
339 (DST)[1] += (SRCA)[1] * (SRCB)[1]; \
340 (DST)[2] += (SRCA)[2] * (SRCB)[2]; \
341 (DST)[3] += (SRCA)[3] * (SRCB)[3]; \
345 #define ACC_SCALE_SCALAR_4V( DST, S, SRCB ) \ argument
347 (DST)[0] += S * (SRCB)[0]; \
348 (DST)[1] += S * (SRCB)[1]; \
349 (DST)[2] += S * (SRCB)[2]; \
350 (DST)[3] += S * (SRCB)[3]; \
354 #define SCALE_SCALAR_4V( DST, S, SRCB ) \ argument
356 (DST)[0] = S * (SRCB)[0]; \
357 (DST)[1] = S * (SRCB)[1]; \
358 (DST)[2] = S * (SRCB)[2]; \
359 (DST)[3] = S * (SRCB)[3]; \
363 #define SELF_SCALE_SCALAR_4V( DST, S ) \ argument
365 (DST)[0] *= S; \
366 (DST)[1] *= S; \
367 (DST)[2] *= S; \
368 (DST)[3] *= S; \
379 #define ZERO_3V( DST ) (DST)[0] = (DST)[1] = (DST)[2] = 0 argument
388 #define COPY_3V( DST, SRC ) \ argument
390 (DST)[0] = (SRC)[0]; \
391 (DST)[1] = (SRC)[1]; \
392 (DST)[2] = (SRC)[2]; \
396 #define COPY_3V_CAST( DST, SRC, CAST ) \ argument
398 (DST)[0] = (CAST)(SRC)[0]; \
399 (DST)[1] = (CAST)(SRC)[1]; \
400 (DST)[2] = (CAST)(SRC)[2]; \
404 #define COPY_3FV( DST, SRC ) \ argument
407 (DST)[0] = _tmp[0]; \
408 (DST)[1] = _tmp[1]; \
409 (DST)[2] = _tmp[2]; \
413 #define SUB_3V( DST, SRCA, SRCB ) \ argument
415 (DST)[0] = (SRCA)[0] - (SRCB)[0]; \
416 (DST)[1] = (SRCA)[1] - (SRCB)[1]; \
417 (DST)[2] = (SRCA)[2] - (SRCB)[2]; \
421 #define ADD_3V( DST, SRCA, SRCB ) \ argument
423 (DST)[0] = (SRCA)[0] + (SRCB)[0]; \
424 (DST)[1] = (SRCA)[1] + (SRCB)[1]; \
425 (DST)[2] = (SRCA)[2] + (SRCB)[2]; \
429 #define SCALE_3V( DST, SRCA, SRCB ) \ argument
431 (DST)[0] = (SRCA)[0] * (SRCB)[0]; \
432 (DST)[1] = (SRCA)[1] * (SRCB)[1]; \
433 (DST)[2] = (SRCA)[2] * (SRCB)[2]; \
437 #define SELF_SCALE_3V( DST, SRC ) \ argument
439 (DST)[0] *= (SRC)[0]; \
440 (DST)[1] *= (SRC)[1]; \
441 (DST)[2] *= (SRC)[2]; \
445 #define ACC_3V( DST, SRC ) \ argument
447 (DST)[0] += (SRC)[0]; \
448 (DST)[1] += (SRC)[1]; \
449 (DST)[2] += (SRC)[2]; \
453 #define ACC_SCALE_3V( DST, SRCA, SRCB ) \ argument
455 (DST)[0] += (SRCA)[0] * (SRCB)[0]; \
456 (DST)[1] += (SRCA)[1] * (SRCB)[1]; \
457 (DST)[2] += (SRCA)[2] * (SRCB)[2]; \
461 #define SCALE_SCALAR_3V( DST, S, SRCB ) \ argument
463 (DST)[0] = S * (SRCB)[0]; \
464 (DST)[1] = S * (SRCB)[1]; \
465 (DST)[2] = S * (SRCB)[2]; \
469 #define ACC_SCALE_SCALAR_3V( DST, S, SRCB ) \ argument
471 (DST)[0] += S * (SRCB)[0]; \
472 (DST)[1] += S * (SRCB)[1]; \
473 (DST)[2] += S * (SRCB)[2]; \
477 #define SELF_SCALE_SCALAR_3V( DST, S ) \ argument
479 (DST)[0] *= S; \
480 (DST)[1] *= S; \
481 (DST)[2] *= S; \
485 #define ACC_SCALAR_3V( DST, S ) \ argument
487 (DST)[0] += S; \
488 (DST)[1] += S; \
489 (DST)[2] += S; \
508 #define ZERO_2V( DST ) (DST)[0] = (DST)[1] = 0 argument
511 #define COPY_2V( DST, SRC ) \ argument
513 (DST)[0] = (SRC)[0]; \
514 (DST)[1] = (SRC)[1]; \
518 #define COPY_2V_CAST( DST, SRC, CAST ) \ argument
520 (DST)[0] = (CAST)(SRC)[0]; \
521 (DST)[1] = (CAST)(SRC)[1]; \
525 #define COPY_2FV( DST, SRC ) \ argument
528 (DST)[0] = _tmp[0]; \
529 (DST)[1] = _tmp[1]; \
533 #define SUB_2V( DST, SRCA, SRCB ) \ argument
535 (DST)[0] = (SRCA)[0] - (SRCB)[0]; \
536 (DST)[1] = (SRCA)[1] - (SRCB)[1]; \
540 #define ADD_2V( DST, SRCA, SRCB ) \ argument
542 (DST)[0] = (SRCA)[0] + (SRCB)[0]; \
543 (DST)[1] = (SRCA)[1] + (SRCB)[1]; \
547 #define SCALE_2V( DST, SRCA, SRCB ) \ argument
549 (DST)[0] = (SRCA)[0] * (SRCB)[0]; \
550 (DST)[1] = (SRCA)[1] * (SRCB)[1]; \
554 #define ACC_2V( DST, SRC ) \ argument
556 (DST)[0] += (SRC)[0]; \
557 (DST)[1] += (SRC)[1]; \
561 #define ACC_SCALE_2V( DST, SRCA, SRCB ) \ argument
563 (DST)[0] += (SRCA)[0] * (SRCB)[0]; \
564 (DST)[1] += (SRCA)[1] * (SRCB)[1]; \
568 #define SCALE_SCALAR_2V( DST, S, SRCB ) \ argument
570 (DST)[0] = S * (SRCB)[0]; \
571 (DST)[1] = S * (SRCB)[1]; \
575 #define ACC_SCALE_SCALAR_2V( DST, S, SRCB ) \ argument
577 (DST)[0] += S * (SRCB)[0]; \
578 (DST)[1] += S * (SRCB)[1]; \
582 #define SELF_SCALE_SCALAR_2V( DST, S ) \ argument
584 (DST)[0] *= S; \
585 (DST)[1] *= S; \
589 #define ACC_SCALAR_2V( DST, S ) \ argument
591 (DST)[0] += S; \
592 (DST)[1] += S; \