Lines Matching refs:s0
84 sd s0, 0(sp) // Save register
85 LA s0, cvmx_log_buffer_end_ptr // Load the address of the end of the log buffer
89 ld s0, 0(s0) // Get value of the current log buffer end location
91 dsubu s0, s0, s2 // Subtract the end pointer and the write pointer
92 sltiu s0, s0, 16 // Check if there are at least 16 bytes
93 bne s0, $0, call_c_pc // Call the slow C function if we don't have room in the log
94 li s0, 0x001 // 11 bit constant that matches the first 11 bits of a CVMX_LOG_TYPE_PC header
96 dins s3, s0, 53, 11 // Overwrite the upper cycle count bits with the CVMX_LOG_TYPE_PC header
101 ld s0, 0(sp) // Restore register
128 // s0, s1, s2, s3 are already saved
161 // s0, s1, s2, s3 will be restored later