ops_sse.h (e52d57c8c53840d28c7f87a8b280980e1aa80465) | ops_sse.h (c0a6665c3c4d63b113ab31c624c53d4a32de2926) |
---|---|
1/* 2 * MMX/3DNow!/SSE/SSE2/SSE3/SSSE3/SSE4/PNI support 3 * 4 * Copyright (c) 2005 Fabrice Bellard 5 * Copyright (c) 2008 Intel Corporation <andrew.zaborowski@intel.com> 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public --- 2456 unchanged lines hidden (view full) --- 2465 case 2: 2466 r0 = s->Q(0); 2467 r1 = s->Q(1); 2468 break; 2469 case 3: 2470 r0 = s->Q(2); 2471 r1 = s->Q(3); 2472 break; | 1/* 2 * MMX/3DNow!/SSE/SSE2/SSE3/SSSE3/SSE4/PNI support 3 * 4 * Copyright (c) 2005 Fabrice Bellard 5 * Copyright (c) 2008 Intel Corporation <andrew.zaborowski@intel.com> 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public --- 2456 unchanged lines hidden (view full) --- 2465 case 2: 2466 r0 = s->Q(0); 2467 r1 = s->Q(1); 2468 break; 2469 case 3: 2470 r0 = s->Q(2); 2471 r1 = s->Q(3); 2472 break; |
2473 default: /* default case added to help the compiler to avoid warnings */ 2474 g_assert_not_reached(); |
|
2473 } 2474 switch ((order >> 4) & 3) { 2475 case 0: 2476 r2 = v->Q(0); 2477 r3 = v->Q(1); 2478 break; 2479 case 1: 2480 r2 = v->Q(2); 2481 r3 = v->Q(3); 2482 break; 2483 case 2: 2484 r2 = s->Q(0); 2485 r3 = s->Q(1); 2486 break; 2487 case 3: 2488 r2 = s->Q(2); 2489 r3 = s->Q(3); 2490 break; | 2475 } 2476 switch ((order >> 4) & 3) { 2477 case 0: 2478 r2 = v->Q(0); 2479 r3 = v->Q(1); 2480 break; 2481 case 1: 2482 r2 = v->Q(2); 2483 r3 = v->Q(3); 2484 break; 2485 case 2: 2486 r2 = s->Q(0); 2487 r3 = s->Q(1); 2488 break; 2489 case 3: 2490 r2 = s->Q(2); 2491 r3 = s->Q(3); 2492 break; |
2493 default: /* default case added to help the compiler to avoid warnings */ 2494 g_assert_not_reached(); |
|
2491 } 2492 d->Q(0) = r0; 2493 d->Q(1) = r1; 2494 d->Q(2) = r2; 2495 d->Q(3) = r3; 2496} 2497 2498void helper_vpermq_ymm(Reg *d, Reg *s, uint32_t order) --- 64 unchanged lines hidden --- | 2495 } 2496 d->Q(0) = r0; 2497 d->Q(1) = r1; 2498 d->Q(2) = r2; 2499 d->Q(3) = r3; 2500} 2501 2502void helper_vpermq_ymm(Reg *d, Reg *s, uint32_t order) --- 64 unchanged lines hidden --- |