Lines Matching defs:thread
330 .macro fpu_save_csr thread tmp
332 stptr.w \tmp, \thread, THREAD_FCSR
340 stptr.d \tmp, \thread, THREAD_FTOP
345 .macro fpu_restore_csr thread tmp
346 ldptr.w \tmp, \thread, THREAD_FCSR
352 ldptr.d \tmp, \thread, THREAD_FTOP
379 .macro fpu_save_cc thread tmp0 tmp1
396 stptr.d \tmp1, \thread, THREAD_FCC
399 .macro fpu_restore_cc thread tmp0 tmp1
400 ldptr.d \tmp0, \thread, THREAD_FCC
419 .macro fpu_save_double thread tmp
421 PTR_ADD \tmp, \tmp, \thread
456 .macro fpu_restore_double thread tmp
458 PTR_ADD \tmp, \tmp, \thread
493 .macro lsx_save_data thread tmp
496 PTR_ADD \tmp, \thread, \tmp
532 .macro lsx_restore_data thread tmp
535 PTR_ADD \tmp, \thread, \tmp
571 .macro lsx_save_all thread tmp0 tmp1
572 fpu_save_cc \thread, \tmp0, \tmp1
573 fpu_save_csr \thread, \tmp0
574 lsx_save_data \thread, \tmp0
577 .macro lsx_restore_all thread tmp0 tmp1
578 lsx_restore_data \thread, \tmp0
579 fpu_restore_cc \thread, \tmp0, \tmp1
580 fpu_restore_csr \thread, \tmp0
591 .macro lsx_save_all_upper thread base tmp
593 PTR_ADD \base, \thread, \tmp
636 .macro lsx_restore_all_upper thread base tmp
638 PTR_ADD \base, \thread, \tmp
716 .macro lasx_save_data thread tmp
719 PTR_ADD \tmp, \thread, \tmp
755 .macro lasx_restore_data thread tmp
758 PTR_ADD \tmp, \thread, \tmp
794 .macro lasx_save_all thread tmp0 tmp1
795 fpu_save_cc \thread, \tmp0, \tmp1
796 fpu_save_csr \thread, \tmp0
797 lasx_save_data \thread, \tmp0
800 .macro lasx_restore_all thread tmp0 tmp1
801 lasx_restore_data \thread, \tmp0
802 fpu_restore_cc \thread, \tmp0, \tmp1
803 fpu_restore_csr \thread, \tmp0
810 .macro lasx_save_all_upper thread base tmp
824 .macro lasx_restore_all_upper thread base tmp
826 PTR_ADD \base, \thread, \tmp