Rev 3913 | Rev 4039 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3913 | Rev 4038 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | .global memcpy_from_uspace_failover_address |
69 | .global memcpy_from_uspace_failover_address |
70 | .global memcpy_to_uspace_failover_address |
70 | .global memcpy_to_uspace_failover_address |
71 | memcpy: |
71 | memcpy: |
72 | memcpy_from_uspace: |
72 | memcpy_from_uspace: |
73 | memcpy_to_uspace: |
73 | memcpy_to_uspace: |
- | 74 | move $t2,$a0 # save dst |
|
74 | addiu $v0,$a1,3 |
75 | addiu $v0,$a1,3 |
75 | li $v1,-4 # 0xfffffffffffffffc |
76 | li $v1,-4 # 0xfffffffffffffffc |
76 | and $v0,$v0,$v1 |
77 | and $v0,$v0,$v1 |
77 | beq $a1,$v0,3f |
78 | beq $a1,$v0,3f |
78 | move $t0,$a0 |
79 | move $t0,$a0 |
79 | move $t2,$a0 # save dst |
- | |
80 | 80 | ||
81 | 0: |
81 | 0: |
82 | beq $a2,$zero,2f |
82 | beq $a2,$zero,2f |
83 | move $a3,$zero |
83 | move $a3,$zero |
84 | 84 |