/kernel/linux/linux-6.6/arch/alpha/lib/ |
H A D | fpreg.c | 180 #define LDS(reg,val) asm volatile ("itofs %0,$f"#reg : : "r"(val)); macro 182 #define LDS(reg,val) asm volatile ("lds $f"#reg",%0" : : "m"(val)); macro 194 LDS(0, val); in alpha_write_fp_reg_s() 197 case 0: LDS( 0, val); break; in alpha_write_fp_reg_s() 198 case 1: LDS( 1, val); break; in alpha_write_fp_reg_s() 199 case 2: LDS( 2, val); break; in alpha_write_fp_reg_s() 200 case 3: LDS( 3, val); break; in alpha_write_fp_reg_s() 201 case 4: LDS( 4, val); break; in alpha_write_fp_reg_s() 202 case 5: LDS( 5, val); break; in alpha_write_fp_reg_s() 203 case 6: LDS( in alpha_write_fp_reg_s() [all...] |
/kernel/linux/linux-5.10/arch/alpha/lib/ |
H A D | fpreg.c | 158 #define LDS(reg,val) asm volatile ("itofs %0,$f"#reg : : "r"(val)); macro 160 #define LDS(reg,val) asm volatile ("lds $f"#reg",%0" : : "m"(val)); macro 167 case 0: LDS( 0, val); break; in alpha_write_fp_reg_s() 168 case 1: LDS( 1, val); break; in alpha_write_fp_reg_s() 169 case 2: LDS( 2, val); break; in alpha_write_fp_reg_s() 170 case 3: LDS( 3, val); break; in alpha_write_fp_reg_s() 171 case 4: LDS( 4, val); break; in alpha_write_fp_reg_s() 172 case 5: LDS( 5, val); break; in alpha_write_fp_reg_s() 173 case 6: LDS( 6, val); break; in alpha_write_fp_reg_s() 174 case 7: LDS( in alpha_write_fp_reg_s() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx9.asm | 398 // Save SGPR before LDS save, then the s0 to s4 can be used during LDS save... 444 /* save first 4 VGPR, then LDS save could use */ 476 /* save LDS */ 489 s_barrier //LDS is used? wait for other waves in the same TG 493 // first wave do LDS save; 495 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 6 //LDS size in dwords = lds_size * 64dw 496 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes 499 // LDS at offset: size(VGPR)+SIZE(SGPR)+SIZE(HWREG) 543 ds_read_b64 v[0:1], v2 //x =LDS[ [all...] |
H A D | cwsr_trap_handler_gfx10.asm | 427 // Save SGPR before LDS save, then the s0 to s4 can be used during LDS save... 490 /* save LDS */ 508 s_barrier //LDS is used? wait for other waves in the same TG 512 // first wave do LDS save; 514 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 6 //LDS size in dwords = lds_size * 64dw 515 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes 518 // LDS at offset: size(VGPR)+size(SVGPR)+SIZE(SGPR)+SIZE(HWREG) 553 s_cbranch_scc1 L_SAVE_LDS_LOOP_W32 //LDS save is complete? 571 s_cbranch_scc1 L_SAVE_LDS_LOOP_W64 //LDS sav [all...] |
H A D | cwsr_trap_handler_gfx8.asm | 297 // Save SGPR before LDS save, then the s0 to s4 can be used during LDS save... 340 /* save first 4 VGPR, then LDS save could use */ 359 /* save LDS */ 372 s_barrier //LDS is used? wait for other waves in the same TG 377 // first wave do LDS save; 379 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 6 //LDS size in dwords = lds_size * 64dw 380 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes 383 // LDS at offset: size(VGPR)+SIZE(SGPR)+SIZE(HWREG) 405 ds_read_b64 v[0:1], v2 //x =LDS[ [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx9.asm | 442 // Save SGPR before LDS save, then the s0 to s4 can be used during LDS save... 488 /* save first 4 VGPR, then LDS save could use */ 515 /* save LDS */ 528 s_barrier //LDS is used? wait for other waves in the same TG 532 // first wave do LDS save; 534 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 6 //LDS size in dwords = lds_size * 64dw 535 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes 538 // LDS at offset: size(VGPR)+SIZE(SGPR)+SIZE(HWREG) 582 ds_read_b64 v[0:1], v2 //x =LDS[ [all...] |
H A D | cwsr_trap_handler_gfx8.asm | 297 // Save SGPR before LDS save, then the s0 to s4 can be used during LDS save... 340 /* save first 4 VGPR, then LDS save could use */ 359 /* save LDS */ 372 s_barrier //LDS is used? wait for other waves in the same TG 377 // first wave do LDS save; 379 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 6 //LDS size in dwords = lds_size * 64dw 380 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes 383 // LDS at offset: size(VGPR)+SIZE(SGPR)+SIZE(HWREG) 405 ds_read_b64 v[0:1], v2 //x =LDS[ [all...] |
H A D | cwsr_trap_handler_gfx10.asm | 529 // Save SGPR before LDS save, then the s0 to s4 can be used during LDS save... 592 /* save LDS */ 610 s_barrier //LDS is used? wait for other waves in the same TG 614 // first wave do LDS save; 616 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 6 //LDS size in dwords = lds_size * 64dw 617 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes 620 // LDS at offset: size(VGPR)+size(SVGPR)+SIZE(SGPR)+SIZE(HWREG) 655 s_cbranch_scc1 L_SAVE_LDS_LOOP_W32 //LDS save is complete? 673 s_cbranch_scc1 L_SAVE_LDS_LOOP_W64 //LDS sav [all...] |
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
H A D | Makefile | 39 quiet_cmd__cpp_lds_S = LDS $@
|
/kernel/linux/linux-6.6/arch/xtensa/kernel/ |
H A D | Makefile | 41 quiet_cmd__cpp_lds_S = LDS $@
|