OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 University of Szeged | 2 * Copyright (C) 2012 University of Szeged |
3 * Copyright (C) 2012 Gabor Rapcsanyi | 3 * Copyright (C) 2012 Gabor Rapcsanyi |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 uint16x4_t temporary1 = vmovn_u32(vcvtq_u32_f32(data)); | 46 uint16x4_t temporary1 = vmovn_u32(vcvtq_u32_f32(data)); |
47 uint8x8_t temporary2 = vmovn_u16(vcombine_u16(temporary1, temporary1)); | 47 uint8x8_t temporary2 = vmovn_u16(vcombine_u16(temporary1, temporary1)); |
48 *destination = vget_lane_u32(vreinterpret_u32_u8(temporary2), 0); | 48 *destination = vget_lane_u32(vreinterpret_u32_u8(temporary2), 0); |
49 } | 49 } |
50 | 50 |
51 } // namespace WebCore | 51 } // namespace WebCore |
52 | 52 |
53 #endif // HAVE(ARM_NEON_INTRINSICS) | 53 #endif // HAVE(ARM_NEON_INTRINSICS) |
54 | 54 |
55 #endif // NEONHelpers_h | 55 #endif // NEONHelpers_h |
OLD | NEW |