LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #include "zasm_GOOS_GOARCH.h" | 5 #include "zasm_GOOS_GOARCH.h" |
6 | 6 |
7 // using frame size $-4 means do not save LR on stack. | 7 // using frame size $-4 means do not save LR on stack. |
8 TEXT _rt0_arm(SB),7,$-4 | 8 TEXT _rt0_arm(SB),7,$-4 |
9 MOVW $0xcafebabe, R12 | 9 MOVW $0xcafebabe, R12 |
10 | 10 |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 MOVW $0, R0 | 480 MOVW $0, R0 |
481 RET | 481 RET |
482 | 482 |
483 TEXT runtime·stackguard(SB),7,$0 | 483 TEXT runtime·stackguard(SB),7,$0 |
484 MOVW R13, R1 | 484 MOVW R13, R1 |
485 MOVW g_stackguard(g), R2 | 485 MOVW g_stackguard(g), R2 |
486 MOVW R1, sp+0(FP) | 486 MOVW R1, sp+0(FP) |
487 MOVW R2, limit+4(FP) | 487 MOVW R2, limit+4(FP) |
488 RET | 488 RET |
489 | 489 |
490 // not implemented for ARM | 490 // AES hashing not implemented for ARM |
491 TEXT runtime·aeshash(SB),7,$-4 | 491 TEXT runtime·aeshash(SB),7,$-4 |
492 MOVW $0, R0 | 492 MOVW $0, R0 |
493 MOVW (R0), R1 | 493 MOVW (R0), R1 |
494 TEXT runtime·aeshash32(SB),7,$-4 | 494 TEXT runtime·aeshash32(SB),7,$-4 |
495 MOVW $0, R0 | 495 MOVW $0, R0 |
496 MOVW (R0), R1 | 496 MOVW (R0), R1 |
497 TEXT runtime·aeshash64(SB),7,$-4 | 497 TEXT runtime·aeshash64(SB),7,$-4 |
498 MOVW $0, R0 | 498 MOVW $0, R0 |
499 MOVW (R0), R1 | 499 MOVW (R0), R1 |
500 TEXT runtime·aeshashstr(SB),7,$-4 | 500 TEXT runtime·aeshashstr(SB),7,$-4 |
501 MOVW $0, R0 | 501 MOVW $0, R0 |
502 MOVW (R0), R1 | 502 MOVW (R0), R1 |
| 503 |
| 504 TEXT runtime·memeq(SB),7,$-4 |
| 505 MOVW a+0(FP), R1 |
| 506 MOVW b+4(FP), R2 |
| 507 MOVW n+8(FP), R3 |
| 508 ADD R1, R3, R6 |
| 509 MOVW $1, R0 |
| 510 _next: |
| 511 CMP R1, R6 |
| 512 RET.EQ |
| 513 MOVBU.P 1(R1), R4 |
| 514 MOVBU.P 1(R2), R5 |
| 515 CMP R4, R5 |
| 516 BEQ _next |
| 517 |
| 518 MOVW $0, R0 |
| 519 RET |
LEFT | RIGHT |