Home | History | Annotate | Download | only in loongarch

Lines Matching refs:_1

85 #define __movfcsr2gr(/*ui5*/ _1) __builtin_loongarch_movfcsr2gr ((_1));
89 #define __movgr2fcsr(/*ui5*/ _1, _2) \
90 __builtin_loongarch_movgr2fcsr ((_1), (unsigned int) _2);
95 #define __cacop_d(/*ui5*/ _1, /*unsigned long int*/ _2, /*si12*/ _3) \
96 ((void) __builtin_loongarch_cacop_d ((_1), (unsigned long int) (_2), (_3)))
105 __cpucfg (unsigned int _1)
107 return (unsigned int) __builtin_loongarch_cpucfg ((unsigned int) _1);
115 __asrtle_d (long int _1, long int _2)
117 __builtin_loongarch_asrtle_d ((long int) _1, (long int) _2);
124 __asrtgt_d (long int _1, long int _2)
126 __builtin_loongarch_asrtgt_d ((long int) _1, (long int) _2);
133 #define __lddir_d(/*long int*/ _1, /*ui5*/ _2) \
134 ((long int) __builtin_loongarch_lddir_d ((long int) (_1), (_2)))
142 #define __ldpte_d(/*long int*/ _1, /*ui5*/ _2) \
143 ((void) __builtin_loongarch_ldpte_d ((long int) (_1), (_2)))
152 __crc_w_b_w (char _1, int _2)
154 return (int) __builtin_loongarch_crc_w_b_w ((char) _1, (int) _2);
161 __crc_w_h_w (short _1, int _2)
163 return (int) __builtin_loongarch_crc_w_h_w ((short) _1, (int) _2);
170 __crc_w_w_w (int _1, int _2)
172 return (int) __builtin_loongarch_crc_w_w_w ((int) _1, (int) _2);
180 __crc_w_d_w (long int _1, int _2)
182 return (int) __builtin_loongarch_crc_w_d_w ((long int) _1, (int) _2);
190 __crcc_w_b_w (char _1, int _2)
192 return (int) __builtin_loongarch_crcc_w_b_w ((char) _1, (int) _2);
199 __crcc_w_h_w (short _1, int _2)
201 return (int) __builtin_loongarch_crcc_w_h_w ((short) _1, (int) _2);
208 __crcc_w_w_w (int _1, int _2)
210 return (int) __builtin_loongarch_crcc_w_w_w ((int) _1, (int) _2);
218 __crcc_w_d_w (long int _1, int _2)
220 return (int) __builtin_loongarch_crcc_w_d_w ((long int) _1, (int) _2);
226 #define __csrrd_w(/*ui14*/ _1) \
227 ((unsigned int) __builtin_loongarch_csrrd_w ((_1)))
231 #define __csrwr_w(/*unsigned int*/ _1, /*ui14*/ _2) \
232 ((unsigned int) __builtin_loongarch_csrwr_w ((unsigned int) (_1), (_2)))
236 #define __csrxchg_w(/*unsigned int*/ _1, /*unsigned int*/ _2, /*ui14*/ _3) \
237 ((unsigned int) __builtin_loongarch_csrxchg_w ((unsigned int) (_1), \
243 #define __csrrd_d(/*ui14*/ _1) \
244 ((unsigned long int) __builtin_loongarch_csrrd_d ((_1)))
248 #define __csrwr_d(/*unsigned long int*/ _1, /*ui14*/ _2) \
249 ((unsigned long int) __builtin_loongarch_csrwr_d ((unsigned long int) (_1), \
254 #define __csrxchg_d(/*unsigned long int*/ _1, /*unsigned long int*/ _2, \
257 (unsigned long int) (_1), (unsigned long int) (_2), (_3)))
264 __iocsrrd_b (unsigned int _1)
266 return (unsigned char) __builtin_loongarch_iocsrrd_b ((unsigned int) _1);
273 __iocsrrd_h (unsigned int _1)
275 return (unsigned short) __builtin_loongarch_iocsrrd_h ((unsigned int) _1);
282 __iocsrrd_w (unsigned int _1)
284 return (unsigned int) __builtin_loongarch_iocsrrd_w ((unsigned int) _1);
292 __iocsrrd_d (unsigned int _1)
294 return (unsigned long int) __builtin_loongarch_iocsrrd_d ((unsigned int) _1);
302 __iocsrwr_b (unsigned char _1, unsigned int _2)
304 __builtin_loongarch_iocsrwr_b ((unsigned char) _1, (unsigned int) _2);
311 __iocsrwr_h (unsigned short _1, unsigned int _2)
313 __builtin_loongarch_iocsrwr_h ((unsigned short) _1, (unsigned int) _2);
320 __iocsrwr_w (unsigned int _1, unsigned int _2)
322 __builtin_loongarch_iocsrwr_w ((unsigned int) _1, (unsigned int) _2);
330 __iocsrwr_d (unsigned long int _1, unsigned int _2)
332 __builtin_loongarch_iocsrwr_d ((unsigned long int) _1, (unsigned int) _2);
338 #define __dbar(/*ui15*/ _1) __builtin_loongarch_dbar ((_1))
342 #define __ibar(/*ui15*/ _1) __builtin_loongarch_ibar ((_1))
346 #define __syscall(/*ui15*/ _1) __builtin_loongarch_syscall ((_1))
350 #define __break(/*ui15*/ _1) __builtin_loongarch_break ((_1))