Lines Matching refs:crypto_int16_s
47 crypto_int16 crypto_int16_load(const unsigned char *crypto_int16_s) { in crypto_int16_load() argument
49 crypto_int16_z |= ((crypto_int16) (*crypto_int16_s++)) << 0; in crypto_int16_load()
50 crypto_int16_z |= ((crypto_int16) (*crypto_int16_s++)) << 8; in crypto_int16_load()
56 void crypto_int16_store(unsigned char *crypto_int16_s,crypto_int16 crypto_int16_x) { in crypto_int16_store() argument
57 *crypto_int16_s++ = crypto_int16_x >> 0; in crypto_int16_store()
58 *crypto_int16_s++ = crypto_int16_x >> 8; in crypto_int16_store()
149 …16 crypto_int16_bitinrangepublicpos_mask(crypto_int16 crypto_int16_x,crypto_int16 crypto_int16_s) { in crypto_int16_bitinrangepublicpos_mask() argument
151 __asm__ ("sarw %%cl,%0" : "+r"(crypto_int16_x) : "c"(crypto_int16_s) : "cc"); in crypto_int16_bitinrangepublicpos_mask()
153 __asm__ ("sxth %w0,%w0\n asr %w0,%w0,%w1" : "+&r"(crypto_int16_x) : "r"(crypto_int16_s) : ); in crypto_int16_bitinrangepublicpos_mask()
155 crypto_int16_x >>= crypto_int16_s ^ crypto_int16_optblocker; in crypto_int16_bitinrangepublicpos_mask()
162 …nt16 crypto_int16_bitinrangepublicpos_01(crypto_int16 crypto_int16_x,crypto_int16 crypto_int16_s) { in crypto_int16_bitinrangepublicpos_01() argument
164 __asm__ ("sarw %%cl,%0" : "+r"(crypto_int16_x) : "c"(crypto_int16_s) : "cc"); in crypto_int16_bitinrangepublicpos_01()
166 __asm__ ("sxth %w0,%w0\n asr %w0,%w0,%w1" : "+&r"(crypto_int16_x) : "r"(crypto_int16_s) : ); in crypto_int16_bitinrangepublicpos_01()
168 crypto_int16_x >>= crypto_int16_s ^ crypto_int16_optblocker; in crypto_int16_bitinrangepublicpos_01()
175 crypto_int16 crypto_int16_shlmod(crypto_int16 crypto_int16_x,crypto_int16 crypto_int16_s) { in crypto_int16_shlmod() argument
177 crypto_int16_s &= 15; in crypto_int16_shlmod()
178 __asm__ ("shlw %%cl,%0" : "+r"(crypto_int16_x) : "c"(crypto_int16_s) : "cc"); in crypto_int16_shlmod()
180 …__asm__ ("and %w0,%w0,15\n and %w1,%w1,65535\n lsl %w1,%w1,%w0" : "+&r"(crypto_int16_s), "+r"(cryp… in crypto_int16_shlmod()
184 …_int16_x << crypto_int16_k)) & crypto_int16_bitinrangepublicpos_mask(crypto_int16_s,crypto_int16_l… in crypto_int16_shlmod()
191 crypto_int16 crypto_int16_shrmod(crypto_int16 crypto_int16_x,crypto_int16 crypto_int16_s) { in crypto_int16_shrmod() argument
193 crypto_int16_s &= 15; in crypto_int16_shrmod()
194 __asm__ ("sarw %%cl,%0" : "+r"(crypto_int16_x) : "c"(crypto_int16_s) : "cc"); in crypto_int16_shrmod()
196 …__asm__ ("and %w0,%w0,15\n sxth %w1,%w1\n asr %w1,%w1,%w0" : "+&r"(crypto_int16_s), "+r"(crypto_in… in crypto_int16_shrmod()
200 …_int16_x >> crypto_int16_k)) & crypto_int16_bitinrangepublicpos_mask(crypto_int16_s,crypto_int16_l… in crypto_int16_shrmod()
207 crypto_int16 crypto_int16_bitmod_mask(crypto_int16 crypto_int16_x,crypto_int16 crypto_int16_s) { in crypto_int16_bitmod_mask() argument
208 crypto_int16_x = crypto_int16_shrmod(crypto_int16_x,crypto_int16_s); in crypto_int16_bitmod_mask()
214 crypto_int16 crypto_int16_bitmod_01(crypto_int16 crypto_int16_x,crypto_int16 crypto_int16_s) { in crypto_int16_bitmod_01() argument
215 crypto_int16_x = crypto_int16_shrmod(crypto_int16_x,crypto_int16_s); in crypto_int16_bitmod_01()
434 crypto_int16 crypto_int16_r, crypto_int16_s; in crypto_int16_minmax() local
435 …%w2,%w3,%w0,lt" : "+&r"(crypto_int16_x), "=&r"(crypto_int16_r), "=r"(crypto_int16_s) : "r"(crypto_… in crypto_int16_minmax()
437 *crypto_int16_q = crypto_int16_s; in crypto_int16_minmax()