id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
u-boot/u-boot:post/cpu/mpc8xx/cache_8xx.S:12 | * invalidate the instruction cache
* lock a branch instruction in the instruction cache
* replace the branch instruction with "nop"
* jump to the branch instruction
* check that the branch instruction was executed
*/
.global cache_post_test6
cache_post_test6:
mflr r0
stw r0, 4(r1)
bl cache_post_ienable
bl ca... | arm64 | gas-like | handwritten | u-boot/u-boot | post/cpu/mpc8xx/cache_8xx.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/cpu/mpc8xx/cache_8xx.S | 441 | 495 |
u-boot/u-boot:post/cpu/mpc8xx/cache_8xx.S:13 | stw r0, 0(r4)
bl cache_post_iinvalidate
/* Execute to the test instruction */
cache_post_test6_data:
nop
lwz r0, 4(r1)
mtlr r0
blr
#endif /* CONFIG_MPC823 || MPC850 || MPC855 || MPC860 */
#endif /* CONFIG_POST & CFG_POST_CACHE */
#endif /* CONFIG_POST */ | arm64 | gas-like | handwritten | u-boot/u-boot | post/cpu/mpc8xx/cache_8xx.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/cpu/mpc8xx/cache_8xx.S | 481 | 495 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:1 | /*
* (C) Copyright 2007
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* Author: Igor Lisitsin <igor@emcraft.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <post.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
#include <asm/cache.h>
#include <asm/mmu.h>
#if CONFIG_POST ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 1 | 60 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:2 | cache_post_wt:
tlbre r0, r3, 0x0002
ori r0, r0, TLB_WORD2_W_ENABLE@l
andi. r0, r0, ~TLB_WORD2_I_ENABLE@l
tlbwe r0, r3, 0x0002
sync
isync
blr
/* void cache_post_wb (int tlb)
*/
cache_post_wb:
tlbre r0, r3, 0x0002
andi. r0, r0, ~TLB_WORD2_W_ENABLE@l
andi. r0, r0, ~TLB_WORD2_I_ENABLE@l
tlbwe r0, r3, 0x0002
s... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 41 | 100 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:3 | isync
blr
/* void cache_post_wb (int tlb)
*/
cache_post_wb:
lis r0, 0x8000
ori r0, r0, 0x0000
mtdccr r0
lis r0, 0x0000
ori r0, r0, 0x0000
mtdcwr r0
sync
isync
blr
#endif
/* void cache_post_dinvalidate (void *p, int size)
*/
cache_post_dinvalidate:
dcbi r0, r3
addi r3, r3, CONFIG_SYS_CACHELINE_SIZE
subi... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 81 | 140 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:4 | dcbt r0, r3
addi r3, r3, CONFIG_SYS_CACHELINE_SIZE
subic. r4, r4, CONFIG_SYS_CACHELINE_SIZE
bgt cache_post_dtouch
sync
blr
/* void cache_post_iinvalidate (void)
*/
cache_post_iinvalidate:
iccci r0, r0
sync
blr
/* void cache_post_memset (void *p, int val, int size)
*/
cache_post_memset:
mtctr r5
1:
stb r4,... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 121 | 180 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:5 | #define CACHE_POST_DISABLE() \
mr r3, r10; \
bl cache_post_disable
#define CACHE_POST_WT() \
mr r3, r10; \
bl cache_post_wt
#define CACHE_POST_WB() \
mr r3, r10; \
bl cache_post_wb
#define CACHE_POST_DINVALIDATE() \
mr r3, r11; \
mr r4, r12; \
bl cache_post_dinvalidate
#define CACHE_POST_DFLUSH()... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 161 | 220 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:6 | #define CACHE_POST_CHECK() \
mr r3, r11; \
mr r4, r12; \
bl cache_post_check; \
mr r13, r3
/*
* Write and read 0xff pattern with caching enabled.
*/
.global cache_post_test1
cache_post_test1:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WB()
CACHE_POST_DINVALI... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 201 | 260 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:7 | mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WB()
CACHE_POST_DINVALIDATE()
/* Write the zero pattern to the test area */
CACHE_POST_MEMSET(0)
CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
/* Write the negative pattern to the test area */
CACHE_POST_MEMSET(0xff)
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 241 | 300 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:8 | mr r12, r5 /* size */
CACHE_POST_WT()
CACHE_POST_DINVALIDATE()
/* Cache the test area */
CACHE_POST_DTOUCH()
/* Write the zero pattern to the test area */
CACHE_POST_MEMSET(0)
CACHE_POST_DSTORE()
/* Write the negative pattern to the test area */
CACHE_POST_MEMSET(0xff)
CACHE_POST_DINVALIDATE()
CACHE_... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 281 | 340 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:9 | CACHE_POST_DINVALIDATE()
/* Cache the test area */
CACHE_POST_DTOUCH()
/* Write the negative pattern to the test area */
CACHE_POST_MEMSET(0xff)
CACHE_POST_DSTORE()
/* Write the zero pattern to the test area */
CACHE_POST_MEMSET(0)
CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
/* Read the test area */
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 321 | 380 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:10 | cache_post_test5_reloc:
mflr r13
lis r0, (cache_post_test_inst - cache_post_test5_reloc)@h
ori r0, r0, (cache_post_test_inst - cache_post_test5_reloc)@l
add r13, r13, r0
/* Copy the test instructions to the test area */
lwz r0, 0(r13)
stw r0, 0(r11)
lwz r0, 8(r13)
stw r0, 4(r11)
sync
/* Invalidate the cach... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 361 | 420 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:11 | mtlr r9
blr
/*
* Load the test instructions into the instruction cache.
* Replace the test instructions and invalidate the cache.
* Check that the replaced instructions are executed.
*/
.global cache_post_test6
cache_post_test6:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CA... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 401 | 460 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:12 | blrl
/* Replace the test instruction */
lwz r0, 0(r13)
stw r0, 0(r11)
sync
/* Invalidate the cache line */
icbi r0, r11
sync
isync
/* Execute the test instructions */
mtlr r11
blrl
mr r13, r3
CACHE_POST_IINVALIDATE()
CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
mr r3, r13
mtlr r9
blr
/* Test in... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/cpu/ppc4xx/cache_4xx.S | 441 | 473 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:2 | * The 40x ppc's don't use address translation in U-Boot at all,
* so we have to distinguish here between 40x and 44x.
*/
#ifdef CONFIG_440
/* void cache_post_disable (int tlb)
*/
cache_post_disable:
tlbre r0, r3, 0x0002
ori r0, r0, TLB_WORD2_I_ENABLE@l
tlbwe r0, r3, 0x0002
sync
isync
blr
/* void cache_post_... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 41 | 100 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:3 | ori r0, r0, 0x0000
mtdccr r0
sync
isync
blr
/* void cache_post_wt (int tlb)
*/
cache_post_wt:
lis r0, 0x8000
ori r0, r0, 0x0000
mtdccr r0
lis r0, 0x8000
ori r0, r0, 0x0000
mtdcwr r0
sync
isync
blr
/* void cache_post_wb (int tlb)
*/
cache_post_wb:
lis r0, 0x8000
ori r0, r0, 0x0000
mtdccr r0
lis r0, ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 81 | 140 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:4 | sync
blr
/* void cache_post_dstore (void *p, int size)
*/
cache_post_dstore:
dcbst r0, r3
addi r3, r3, CONFIG_SYS_CACHELINE_SIZE
subic. r4, r4, CONFIG_SYS_CACHELINE_SIZE
bgt cache_post_dstore
sync
blr
/* void cache_post_dtouch (void *p, int size)
*/
cache_post_dtouch:
dcbt r0, r3
addi r3, r3, CONFIG_SYS_CA... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 121 | 180 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:5 | /* int cache_post_check (void *p, int size)
*/
cache_post_check:
mtctr r4
1:
lbz r0, 0(r3)
addi r3, r3, 1
cmpwi r0, 0xff
bne 2f
bdnz 1b
li r3, 0
blr
2:
li r3, -1
blr
#define CACHE_POST_DISABLE() \
mr r3, r10; \
bl cache_post_disable
#define CACHE_POST_WT() \
mr r3, r10; \
bl cache_post_wt
#define... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 161 | 220 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:6 | mr r4, r12; \
bl cache_post_dstore
#define CACHE_POST_DTOUCH() \
mr r3, r11; \
mr r4, r12; \
bl cache_post_dtouch
#define CACHE_POST_IINVALIDATE() \
bl cache_post_iinvalidate
#define CACHE_POST_MEMSET(val) \
mr r3, r11; \
li r4, val; \
mr r5, r12; \
bl cache_post_memset
#define CACHE_POST_CHECK() ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 201 | 260 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:7 | CACHE_POST_CHECK()
CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
mr r3, r13
mtlr r9
blr
/*
* Write zeroes with caching enabled.
* Write 0xff pattern with caching disabled.
* Read 0xff pattern with caching enabled.
*/
.global cache_post_test2
cache_post_test2:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 241 | 300 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:8 | mr r3, r13
mtlr r9
blr
/*
* Write-through mode test.
* Write zeroes, store the cache, write 0xff pattern.
* Invalidate the cache.
* Check that 0xff pattern is read.
*/
.global cache_post_test3
cache_post_test3:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WT()
C... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 281 | 340 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:9 | blr
/*
* Write-back mode test.
* Write 0xff pattern, store the cache, write zeroes.
* Invalidate the cache.
* Check that 0xff pattern is read.
*/
.global cache_post_test4
cache_post_test4:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WB()
CACHE_POST_DINVALIDATE()
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 321 | 380 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:10 | * Load the test instructions into the instruction cache.
* Replace the test instructions.
* Check that the original instructions are executed.
*/
.global cache_post_test5
cache_post_test5:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WT()
CACHE_POST_IINVALIDATE()
/... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 361 | 420 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:11 | stw r0, 0(r11)
sync
/* Do not invalidate the cache line */
isync
/* Execute the test instructions */
mtlr r11
blrl
mr r13, r3
CACHE_POST_IINVALIDATE()
CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
mr r3, r13
mtlr r9
blr
/*
* Load the test instructions into the instruction cache.
* Replace the test i... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 401 | 460 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:12 | add r13, r13, r0
/* Copy the test instructions to the test area */
lwz r0, 4(r13)
stw r0, 0(r11)
lwz r0, 8(r13)
stw r0, 4(r11)
sync
/* Invalidate the cache line */
icbi r0, r11
sync
isync
/* Execute the test instructions */
mtlr r11
blrl
/* Replace the test instruction */
lwz r0, 0(r13)
stw r0, 0(r1... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/cpu/ppc4xx/cache_4xx.S | 441 | 489 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:3 | ori r0, r0, 0x0000
mtdccr r0
sync
isync
blr
/* void cache_post_wt (int tlb)
*/
cache_post_wt:
lis r0, 0x8000
ori r0, r0, 0x0000
mtdccr r0
lis r0, 0x8000
ori r0, r0, 0x0000
mtdcwr r0
sync
isync
blr
/* void cache_post_wb (int tlb)
*/
cache_post_wb:
lis r0, 0x8000
ori r0, r0, 0x0000
mtdccr r0
lis r0, ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 0a51e9248e2d27e0a02ef1e740c576ce90a39ee1 | github | bootloader | https://github.com/u-boot/u-boot/blob/0a51e9248e2d27e0a02ef1e740c576ce90a39ee1/post/cpu/ppc4xx/cache_4xx.S | 81 | 140 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:4 | sync
blr
/* void cache_post_dstore (void *p, int size)
*/
cache_post_dstore:
dcbst r0, r3
addi r3, r3, CFG_CACHELINE_SIZE
subic. r4, r4, CFG_CACHELINE_SIZE
bgt cache_post_dstore
sync
blr
/* void cache_post_dtouch (void *p, int size)
*/
cache_post_dtouch:
dcbt r0, r3
addi r3, r3, CFG_CACHELINE_SIZE
subic. ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 0a51e9248e2d27e0a02ef1e740c576ce90a39ee1 | github | bootloader | https://github.com/u-boot/u-boot/blob/0a51e9248e2d27e0a02ef1e740c576ce90a39ee1/post/cpu/ppc4xx/cache_4xx.S | 121 | 180 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:12 | add r13, r13, r0
/* Copy the test instructions to the test area */
lwz r0, 4(r13)
stw r0, 0(r11)
lwz r0, 8(r13)
stw r0, 4(r11)
sync
/* Invalidate the cache line */
icbi r0, r11
sync
isync
/* Execute the test instructions */
mtlr r11
blrl
/* Replace the test instruction */
lwz r0, 0(r13)
stw r0, 0(r1... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 0a51e9248e2d27e0a02ef1e740c576ce90a39ee1 | github | bootloader | https://github.com/u-boot/u-boot/blob/0a51e9248e2d27e0a02ef1e740c576ce90a39ee1/post/cpu/ppc4xx/cache_4xx.S | 441 | 489 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:2 | * All 44x variants deal with cache management differently
* because they have the address translation always enabled.
* The 40x ppc's don't use address translation in U-Boot at all,
* so we have to distinguish here between 40x and 44x.
*/
#ifdef CONFIG_440
/* void cache_post_disable (int tlb)
*/
cache_post_dis... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 41 | 100 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:3 | cache_post_disable:
lis r0, 0x0000
ori r0, r0, 0x0000
mtdccr r0
sync
isync
blr
/* void cache_post_wt (int tlb)
*/
cache_post_wt:
lis r0, 0x8000
ori r0, r0, 0x0000
mtdccr r0
lis r0, 0x8000
ori r0, r0, 0x0000
mtdcwr r0
sync
isync
blr
/* void cache_post_wb (int tlb)
*/
cache_post_wb:
lis r0, 0x8000
or... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 81 | 140 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:4 | subic. r4, r4, CFG_CACHELINE_SIZE
bgt cache_post_dinvalidate
sync
blr
/* void cache_post_dstore (void *p, int size)
*/
cache_post_dstore:
dcbst r0, r3
addi r3, r3, CFG_CACHELINE_SIZE
subic. r4, r4, CFG_CACHELINE_SIZE
bgt cache_post_dstore
sync
blr
/* void cache_post_dtouch (void *p, int size)
*/
cache_post... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 121 | 180 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:5 | blr
/* int cache_post_check (void *p, int size)
*/
cache_post_check:
mtctr r4
1:
lbz r0, 0(r3)
addi r3, r3, 1
cmpwi r0, 0xff
bne 2f
bdnz 1b
li r3, 0
blr
2:
li r3, -1
blr
#define CACHE_POST_DISABLE() \
mr r3, r10; \
bl cache_post_disable
#define CACHE_POST_WT() \
mr r3, r10; \
bl cache_post_wt
#d... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 161 | 220 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:6 | #define CACHE_POST_DSTORE() \
mr r3, r11; \
mr r4, r12; \
bl cache_post_dstore
#define CACHE_POST_DTOUCH() \
mr r3, r11; \
mr r4, r12; \
bl cache_post_dtouch
#define CACHE_POST_IINVALIDATE() \
bl cache_post_iinvalidate
#define CACHE_POST_MEMSET(val) \
mr r3, r11; \
li r4, val; \
mr r5, r12; \
bl... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 201 | 260 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:7 | /* Read the test area */
CACHE_POST_CHECK()
CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
mr r3, r13
mtlr r9
blr
/*
* Write zeroes with caching enabled.
* Write 0xff pattern with caching disabled.
* Read 0xff pattern with caching enabled.
*/
.global cache_post_test2
cache_post_test2:
mflr r9
mr r10, r3 ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 241 | 300 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:8 | CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
mr r3, r13
mtlr r9
blr
/*
* Write-through mode test.
* Write zeroes, store the cache, write 0xff pattern.
* Invalidate the cache.
* Check that 0xff pattern is read.
*/
.global cache_post_test3
cache_post_test3:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 281 | 340 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:9 | mr r3, r13
mtlr r9
blr
/*
* Write-back mode test.
* Write 0xff pattern, store the cache, write zeroes.
* Invalidate the cache.
* Check that 0xff pattern is read.
*/
.global cache_post_test4
cache_post_test4:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WB()
CACH... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 321 | 380 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:10 | /*
* Load the test instructions into the instruction cache.
* Replace the test instructions.
* Check that the original instructions are executed.
*/
.global cache_post_test5
cache_post_test5:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WT()
CACHE_POST_IINVALIDATE()... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 361 | 420 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:11 | /* Replace the test instruction */
lwz r0, 4(r13)
stw r0, 0(r11)
sync
/* Do not invalidate the cache line */
isync
/* Execute the test instructions */
mtlr r11
blrl
mr r13, r3
CACHE_POST_IINVALIDATE()
CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
mr r3, r13
mtlr r9
blr
/*
* Load the test instructio... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 401 | 460 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:12 | lis r0, (cache_post_test_inst - cache_post_test6_reloc)@h
ori r0, r0, (cache_post_test_inst - cache_post_test6_reloc)@l
add r13, r13, r0
/* Copy the test instructions to the test area */
lwz r0, 4(r13)
stw r0, 0(r11)
lwz r0, 8(r13)
stw r0, 4(r11)
sync
/* Invalidate the cache line */
icbi r0, r11
sync
isyn... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 441 | 492 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:13 | mtlr r9
blr
/* Test instructions.
*/
cache_post_test_inst:
li r3, 0
li r3, -1
blr
#endif /* CONFIG_POST & CFG_POST_CACHE */
#endif /* CONFIG_POST */ | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | eb2b4010ae426245172988804ee8d9193fb41038 | github | bootloader | https://github.com/u-boot/u-boot/blob/eb2b4010ae426245172988804ee8d9193fb41038/post/cpu/ppc4xx/cache_4xx.S | 481 | 492 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:1 | /*
* (C) Copyright 2007
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* Author: Igor Lisitsin <igor@emcraft.com>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Gener... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 1 | 60 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:2 | */
cache_post_disable:
tlbre r0, r3, 0x0002
ori r0, r0, TLB_WORD2_I_ENABLE@l
tlbwe r0, r3, 0x0002
sync
isync
blr
/* void cache_post_wt (int tlb)
*/
cache_post_wt:
tlbre r0, r3, 0x0002
ori r0, r0, TLB_WORD2_W_ENABLE@l
andi. r0, r0, ~TLB_WORD2_I_ENABLE@l
tlbwe r0, r3, 0x0002
sync
isync
blr
/* void cache_p... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 41 | 100 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:3 | /* void cache_post_dstore (void *p, int size)
*/
cache_post_dstore:
dcbst r0, r3
addi r3, r3, CFG_CACHELINE_SIZE
subic. r4, r4, CFG_CACHELINE_SIZE
bgt cache_post_dstore
sync
blr
/* void cache_post_dtouch (void *p, int size)
*/
cache_post_dtouch:
dcbt r0, r3
addi r3, r3, CFG_CACHELINE_SIZE
subic. r4, r4, CFG... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 81 | 140 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:4 | cache_post_check:
mtctr r4
1:
lbz r0, 0(r3)
addi r3, r3, 1
cmpwi r0, 0xff
bne 2f
bdnz 1b
li r3, 0
blr
2:
li r3, -1
blr
#define CACHE_POST_DISABLE() \
mr r3, r10; \
bl cache_post_disable
#define CACHE_POST_WT() \
mr r3, r10; \
bl cache_post_wt
#define CACHE_POST_WB() \
mr r3, r10; \
bl cache_p... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 121 | 180 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:5 | #define CACHE_POST_DTOUCH() \
mr r3, r11; \
mr r4, r12; \
bl cache_post_dtouch
#define CACHE_POST_IINVALIDATE() \
bl cache_post_iinvalidate
#define CACHE_POST_MEMSET(val) \
mr r3, r11; \
li r4, val; \
mr r5, r12; \
bl cache_post_memset
#define CACHE_POST_CHECK() \
mr r3, r11; \
mr r4, r12; \
bl ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 161 | 220 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:6 | CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
mr r3, r13
mtlr r9
blr
/*
* Write zeroes with caching enabled.
* Write 0xff pattern with caching disabled.
* Read 0xff pattern with caching enabled.
*/
.global cache_post_test2
cache_post_test2:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 201 | 260 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:7 | mtlr r9
blr
/*
* Write-through mode test.
* Write zeroes, store the cache, write 0xff pattern.
* Invalidate the cache.
* Check that 0xff pattern is read.
*/
.global cache_post_test3
cache_post_test3:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WT()
CACHE_POST_DI... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 241 | 300 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:8 | /*
* Write-back mode test.
* Write 0xff pattern, store the cache, write zeroes.
* Invalidate the cache.
* Check that 0xff pattern is read.
*/
.global cache_post_test4
cache_post_test4:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WB()
CACHE_POST_DINVALIDATE()
/* ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 281 | 340 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:9 | * Check that the original instructions are executed.
*/
.global cache_post_test5
cache_post_test5:
mflr r9
mr r10, r3 /* tlb */
mr r11, r4 /* p */
mr r12, r5 /* size */
CACHE_POST_WT()
CACHE_POST_IINVALIDATE()
/* Compute r13 = cache_post_test_inst */
bl cache_post_test5_reloc
cache_post_test5_reloc:
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 321 | 380 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:10 | /* Do not invalidate the cache line */
isync
/* Execute the test instructions */
mtlr r11
blrl
mr r13, r3
CACHE_POST_IINVALIDATE()
CACHE_POST_DINVALIDATE()
CACHE_POST_DISABLE()
mr r3, r13
mtlr r9
blr
/*
* Load the test instructions into the instruction cache.
* Replace the test instructions and invalid... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 361 | 420 |
u-boot/u-boot:post/cpu/ppc4xx/cache_4xx.S:11 | /* Copy the test instructions to the test area */
lwz r0, 4(r13)
stw r0, 0(r11)
lwz r0, 8(r13)
stw r0, 4(r11)
sync
/* Invalidate the cache line */
icbi r0, r11
sync
isync
/* Execute the test instructions */
mtlr r11
blrl
/* Replace the test instruction */
lwz r0, 0(r13)
stw r0, 0(r11)
sync
/* Inval... | powerpc | gas-like | handwritten | u-boot/u-boot | post/cpu/ppc4xx/cache_4xx.S | GPL-2.0 | 4ef218f6fdf8d747f4589da5252b004e7d2c2876 | github | bootloader | https://github.com/u-boot/u-boot/blob/4ef218f6fdf8d747f4589da5252b004e7d2c2876/post/cpu/ppc4xx/cache_4xx.S | 401 | 448 |
u-boot/u-boot:post/lib_powerpc/asm.S:1 | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
*/
#include <config.h>
#include <post.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
#include <asm/cache.h>
#if CFG_POST & CFG_SYS_POST_CPU
/* void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); */
.global cpu_po... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 1 | 60 |
u-boot/u-boot:post/lib_powerpc/asm.S:2 | isync
mflr r0
stwu r0, -4(r1)
subi r1, r1, 96
stmw r8, 0(r1)
mtlr r3
mr r3, r4
mr r4, r5
mr r5, r6
mtxer r7
blrl
lmw r8, 0(r1)
addi r1, r1, 96
lwz r0, 0(r1)
addi r1, r1, 4
mtlr r0
blr
/* void cpu_post_exec_12 (ulong *code, ulong *res, ulong op1, ulong op2); */
.global cpu_post_exec_12
cpu_post_exe... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 41 | 100 |
u-boot/u-boot:post/lib_powerpc/asm.S:3 | mtlr r0
blr
/* void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); */
.global cpu_post_exec_11
cpu_post_exec_11:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
mr r3, r5
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_21 (ulong *code, ul... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 81 | 140 |
u-boot/u-boot:post/lib_powerpc/asm.S:4 | mfcr r0
lwz r4, 4(r1)
stw r0, 0(r4)
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_22 (ulong *code, ulong *cr, ulong *res, ulong op1,
ulong op2); */
.global cpu_post_exec_22
cpu_post_exec_22:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 121 | 180 |
u-boot/u-boot:post/lib_powerpc/asm.S:5 | mtlr r0
blr
/* void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); */
.global cpu_post_exec_12w
cpu_post_exec_12w:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
lwz r3, 0(r4)
mr r4, r5
mr r5, r6
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 161 | 220 |
u-boot/u-boot:post/lib_powerpc/asm.S:6 | lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3); */
.global cpu_post_exec_22w
cpu_post_exec_22w:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r6, -4(r1)
mtlr r3
lwz r3, 0(r4)
mr r4, r5
blrl
lwz r4, 4(r1)
stw r3, 0(r4)
lwz r4, 0... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 201 | 260 |
u-boot/u-boot:post/lib_powerpc/asm.S:7 | lwz r3, 0(r4)
blrl
lwz r5, 4(r1)
stw r3, 0(r5)
lwz r5, 0(r1)
stw r4, 0(r5)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_21x (ulong *code, ulong *op1, ulong *op2, ulong op3); */
.global cpu_post_exec_21x
cpu_post_exec_21x:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 241 | 300 |
u-boot/u-boot:post/lib_powerpc/asm.S:8 | isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
stwu r6, -4(r1)
mtlr r3
lwz r3, 0(r4)
lwz r4, 0(r5)
mr r6, r7
mfcr r7
blrl
mtcr r7
lwz r7, 8(r1)
stw r3, 0(r7)
lwz r7, 4(r1)
stw r4, 0(r7)
lwz r7, 0(r1)
stw r5, 0(r7)
lwz r0, 12(r1)
addi r1, r1, 16
mtlr r0
blr
/* int cpu_post_compl... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 281 | 340 |
u-boot/u-boot:post/lib_powerpc/asm.S:9 | bdnz cpu_post_complex_1_loop
cpu_post_complex_1_done:
mr r3,r9
blr
/* int cpu_post_complex_2_asm (int x, int n); */
.global cpu_post_complex_2_asm
cpu_post_complex_2_asm:
mr. r0,r4
mtctr r0
mr r0,r3
li r3,1
li r4,1
blelr
cpu_post_complex_2_loop:
mullw r3,r3,r0
add r3,r3,r4
bdnz cpu_post_complex_2_loop
blr
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a | github | bootloader | https://github.com/u-boot/u-boot/blob/38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a/post/lib_powerpc/asm.S | 321 | 341 |
u-boot/u-boot:post/lib_powerpc/asm.S:1 | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
*/
#include <config.h>
#include <post.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
#include <asm/cache.h>
#if CFG_POST & CONFIG_SYS_POST_CPU
/* void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); */
.global cpu... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4 | github | bootloader | https://github.com/u-boot/u-boot/blob/9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4/post/lib_powerpc/asm.S | 1 | 60 |
u-boot/u-boot:post/lib_powerpc/asm.S:1 | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
*/
#include <config.h>
#include <post.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
#include <asm/cache.h>
#if CONFIG_POST & CONFIG_SYS_POST_CPU
/* void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); */
.global ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 | github | bootloader | https://github.com/u-boot/u-boot/blob/83d290c56fab2d38cd1ab4c4cc7099559c1d5046/post/lib_powerpc/asm.S | 1 | 60 |
u-boot/u-boot:post/lib_powerpc/asm.S:1 | /*
* Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <post.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
#include <asm/cache.h>
#if CONFIG_POST & CONFIG_SYS_POST_CPU
/* void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); */
.global ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 1 | 60 |
u-boot/u-boot:post/lib_powerpc/asm.S:2 | cpu_post_exec_04:
isync
mflr r0
stwu r0, -4(r1)
subi r1, r1, 96
stmw r8, 0(r1)
mtlr r3
mr r3, r4
mr r4, r5
mr r5, r6
mtxer r7
blrl
lmw r8, 0(r1)
addi r1, r1, 96
lwz r0, 0(r1)
addi r1, r1, 4
mtlr r0
blr
/* void cpu_post_exec_12 (ulong *code, ulong *res, ulong op1, ulong op2); */
.global cpu_post_e... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 41 | 100 |
u-boot/u-boot:post/lib_powerpc/asm.S:3 | addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); */
.global cpu_post_exec_11
cpu_post_exec_11:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
mr r3, r5
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_21 ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 81 | 140 |
u-boot/u-boot:post/lib_powerpc/asm.S:4 | blrl
mfcr r0
lwz r4, 4(r1)
stw r0, 0(r4)
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_22 (ulong *code, ulong *cr, ulong *res, ulong op1,
ulong op2); */
.global cpu_post_exec_22
cpu_post_exec_22:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 121 | 180 |
u-boot/u-boot:post/lib_powerpc/asm.S:5 | addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); */
.global cpu_post_exec_12w
cpu_post_exec_12w:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
lwz r3, 0(r4)
mr r4, r5
mr r5, r6
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 161 | 220 |
u-boot/u-boot:post/lib_powerpc/asm.S:6 | stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3); */
.global cpu_post_exec_22w
cpu_post_exec_22w:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r6, -4(r1)
mtlr r3
lwz r3, 0(r4)
mr r4, r5
blrl
lwz r4, 4(r1)
stw r3, ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 201 | 260 |
u-boot/u-boot:post/lib_powerpc/asm.S:7 | mtlr r3
lwz r3, 0(r4)
blrl
lwz r5, 4(r1)
stw r3, 0(r5)
lwz r5, 0(r1)
stw r4, 0(r5)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_21x (ulong *code, ulong *op1, ulong *op2, ulong op3); */
.global cpu_post_exec_21x
cpu_post_exec_21x:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 241 | 300 |
u-boot/u-boot:post/lib_powerpc/asm.S:8 | cpu_post_exec_31:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
stwu r6, -4(r1)
mtlr r3
lwz r3, 0(r4)
lwz r4, 0(r5)
mr r6, r7
mfcr r7
blrl
mtcr r7
lwz r7, 8(r1)
stw r3, 0(r7)
lwz r7, 4(r1)
stw r4, 0(r7)
lwz r7, 0(r1)
stw r5, 0(r7)
lwz r0, 12(r1)
addi r1, r1, 16
mtlr r0
blr
/*... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 281 | 340 |
u-boot/u-boot:post/lib_powerpc/asm.S:9 | add r9,r9,r0
bdnz cpu_post_complex_1_loop
cpu_post_complex_1_done:
mr r3,r9
blr
/* int cpu_post_complex_2_asm (int x, int n); */
.global cpu_post_complex_2_asm
cpu_post_complex_2_asm:
mr. r0,r4
mtctr r0
mr r0,r3
li r3,1
li r4,1
blelr
cpu_post_complex_2_loop:
mullw r3,r3,r0
add r3,r3,r4
bdnz cpu_post_compl... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_powerpc/asm.S | GPL-2.0 | 1a4596601fd395f3afb8f82f3f840c5e00bdd57a | github | bootloader | https://github.com/u-boot/u-boot/blob/1a4596601fd395f3afb8f82f3f840c5e00bdd57a/post/lib_powerpc/asm.S | 321 | 342 |
u-boot/u-boot:post/lib_ppc/asm.S:1 | /*
* Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either ve... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 1 | 60 |
u-boot/u-boot:post/lib_ppc/asm.S:2 | mtlr r3
mr r3, r4
mr r4, r5
blrl
lmw r6, 0(r1)
addi r1, r1, 104
lwz r0, 0(r1)
addi r1, r1, 4
mtlr r0
blr
/* void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3, ulong op4); */
.global cpu_post_exec_04
cpu_post_exec_04:
isync
mflr r0
stwu r0, -4(r1)
subi r1, r1, 96
stmw r8, 0(r1)
mtl... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 41 | 100 |
u-boot/u-boot:post/lib_ppc/asm.S:3 | .global cpu_post_exec_12
cpu_post_exec_12:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
mr r3, r5
mr r4, r6
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); */
.global cpu_post_exec_11
cpu_post_exec_11:
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 81 | 140 |
u-boot/u-boot:post/lib_ppc/asm.S:4 | /* void cpu_post_exec_21 (ulong *code, ulong *cr, ulong *res, ulong op1); */
.global cpu_post_exec_21
cpu_post_exec_21:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
li r0, 0
mtxer r0
lwz r0, 0(r4)
mtcr r0
mtlr r3
mr r3, r6
blrl
mfcr r0
lwz r4, 4(r1)
stw r0, 0(r4)
lwz r4, 0(r1)
stw ... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 121 | 180 |
u-boot/u-boot:post/lib_ppc/asm.S:5 | mtxer r0
lwz r0, 0(r4)
mtcr r0
mtlr r3
mr r3, r6
mr r4, r7
blrl
mfcr r0
lwz r4, 4(r1)
stw r0, 0(r4)
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); */
.global cpu_post_exec_12w
cpu_post_exec_12w:
isync
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 161 | 220 |
u-boot/u-boot:post/lib_ppc/asm.S:6 | blr
/* void cpu_post_exec_11w (ulong *code, ulong *op1, ulong op2); */
.global cpu_post_exec_11w
cpu_post_exec_11w:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
lwz r3, 0(r4)
mr r4, r5
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_22w (ulong... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 201 | 260 |
u-boot/u-boot:post/lib_ppc/asm.S:7 | stw r5, 0(r4)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2); */
.global cpu_post_exec_21w
cpu_post_exec_21w:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
mtlr r3
lwz r3, 0(r4)
blrl
lwz r5, 4(r1)
stw r3, 0(r5)
lwz r5, 0(r1)
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 241 | 300 |
u-boot/u-boot:post/lib_ppc/asm.S:8 | mr r3, r6
blrl
lwz r5, 4(r1)
stw r3, 0(r5)
lwz r5, 0(r1)
stw r4, 0(r5)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump,
ulong cr); */
.global cpu_post_exec_31
cpu_post_exec_31:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 281 | 340 |
u-boot/u-boot:post/lib_ppc/asm.S:9 | lwz r0, 12(r1)
addi r1, r1, 16
mtlr r0
blr
/* int cpu_post_complex_1_asm (int a1, int a2, int a3, int a4, int n); */
.global cpu_post_complex_1_asm
cpu_post_complex_1_asm:
li r9,0
cmpw r9,r7
bge cpu_post_complex_1_done
mtctr r7
cpu_post_complex_1_loop:
mullw r0,r3,r4
subf r0,r5,r0
divw r0,r0,r6
add r9,r9,r... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 6d0f6bcf337c5261c08fabe12982178c2c489d76 | github | bootloader | https://github.com/u-boot/u-boot/blob/6d0f6bcf337c5261c08fabe12982178c2c489d76/post/lib_ppc/asm.S | 321 | 358 |
u-boot/u-boot:post/lib_ppc/asm.S:1 | /*
* Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either ve... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 0a51e9248e2d27e0a02ef1e740c576ce90a39ee1 | github | bootloader | https://github.com/u-boot/u-boot/blob/0a51e9248e2d27e0a02ef1e740c576ce90a39ee1/post/lib_ppc/asm.S | 1 | 60 |
u-boot/u-boot:post/lib_ppc/asm.S:1 | /*
* Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either ve... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 1 | 60 |
u-boot/u-boot:post/lib_ppc/asm.S:2 | subi r1, r1, 104
stmw r6, 0(r1)
mtlr r3
mr r3, r4
mr r4, r5
blrl
lmw r6, 0(r1)
addi r1, r1, 104
lwz r0, 0(r1)
addi r1, r1, 4
mtlr r0
blr
/* void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3, ulong op4); */
.global cpu_post_exec_04
cpu_post_exec_04:
isync
mflr r0
stwu r0, -4(r1)
su... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 41 | 100 |
u-boot/u-boot:post/lib_ppc/asm.S:3 | /* void cpu_post_exec_12 (ulong *code, ulong *res, ulong op1, ulong op2); */
.global cpu_post_exec_12
cpu_post_exec_12:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
mr r3, r5
mr r4, r6
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_11 (ulong *... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 81 | 140 |
u-boot/u-boot:post/lib_ppc/asm.S:4 | blr
/* void cpu_post_exec_21 (ulong *code, ulong *cr, ulong *res, ulong op1); */
.global cpu_post_exec_21
cpu_post_exec_21:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
li r0, 0
mtxer r0
lwz r0, 0(r4)
mtcr r0
mtlr r3
mr r3, r6
blrl
mfcr r0
lwz r4, 4(r1)
stw r0, 0(r4)
lwz r4, 0(r1)
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 121 | 180 |
u-boot/u-boot:post/lib_ppc/asm.S:5 | li r0, 0
mtxer r0
lwz r0, 0(r4)
mtcr r0
mtlr r3
mr r3, r6
mr r4, r7
blrl
mfcr r0
lwz r4, 4(r1)
stw r0, 0(r4)
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); */
.global cpu_post_exec_12w
cpu_post_exec_12... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 161 | 220 |
u-boot/u-boot:post/lib_ppc/asm.S:6 | addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_11w (ulong *code, ulong *op1, ulong op2); */
.global cpu_post_exec_11w
cpu_post_exec_11w:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
lwz r3, 0(r4)
mr r4, r5
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 201 | 260 |
u-boot/u-boot:post/lib_ppc/asm.S:7 | stw r3, 0(r4)
lwz r4, 0(r1)
stw r5, 0(r4)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2); */
.global cpu_post_exec_21w
cpu_post_exec_21w:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
mtlr r3
lwz r3, 0(r4)
blrl
lwz r5, 4(r1)
... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 241 | 300 |
u-boot/u-boot:post/lib_ppc/asm.S:8 | mtlr r3
mr r3, r6
blrl
lwz r5, 4(r1)
stw r3, 0(r5)
lwz r5, 0(r1)
stw r4, 0(r5)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump,
ulong cr); */
.global cpu_post_exec_31
cpu_post_exec_31:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 281 | 340 |
u-boot/u-boot:post/lib_ppc/asm.S:9 | stw r5, 0(r7)
lwz r0, 12(r1)
addi r1, r1, 16
mtlr r0
blr
/* int cpu_post_complex_1_asm (int a1, int a2, int a3, int a4, int n); */
.global cpu_post_complex_1_asm
cpu_post_complex_1_asm:
li r9,0
cmpw r9,r7
bge cpu_post_complex_1_done
mtctr r7
cpu_post_complex_1_loop:
mullw r0,r3,r4
subf r0,r5,r0
divw r0,r0... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 | github | bootloader | https://github.com/u-boot/u-boot/blob/928d1d77f8623c120d8763e20e1ca58df9c5c4c6/post/lib_ppc/asm.S | 321 | 361 |
u-boot/u-boot:post/lib_ppc/asm.S:8 | mtlr r3
mr r3, r6
blrl
lwz r5, 4(r1)
stw r3, 0(r5)
lwz r5, 0(r1)
stw r4, 0(r5)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump,
ulong cr); */
.global cpu_post_exec_31
cpu_post_exec_31:
isync
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | a11e06965ec91270c51853407ff1261d3c740386 | github | bootloader | https://github.com/u-boot/u-boot/blob/a11e06965ec91270c51853407ff1261d3c740386/post/lib_ppc/asm.S | 281 | 340 |
u-boot/u-boot:post/lib_ppc/asm.S:9 | addi r1, r1, 16
mtlr r0
blr
/* int cpu_post_complex_1_asm (int a1, int a2, int a3, int a4, int n); */
.global cpu_post_complex_1_asm
cpu_post_complex_1_asm:
li r9,0
cmpw r9,r7
bge cpu_post_complex_1_done
mtctr r7
cpu_post_complex_1_loop:
mullw r0,r3,r4
subf r0,r5,r0
divw r0,r0,r6
add r9,r9,r0
bdnz cpu_post... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | a11e06965ec91270c51853407ff1261d3c740386 | github | bootloader | https://github.com/u-boot/u-boot/blob/a11e06965ec91270c51853407ff1261d3c740386/post/lib_ppc/asm.S | 321 | 358 |
u-boot/u-boot:post/lib_ppc/asm.S:1 | /*
* Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either ve... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/lib_ppc/asm.S | 1 | 60 |
u-boot/u-boot:post/lib_ppc/asm.S:2 | stmw r6, 0(r1)
mtlr r3
mr r3, r4
mr r4, r5
blrl
lmw r6, 0(r1)
addi r1, r1, 104
lwz r0, 0(r1)
addi r1, r1, 4
mtlr r0
blr
/* void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3, ulong op4); */
.global cpu_post_exec_04
cpu_post_exec_04:
mflr r0
stwu r0, -4(r1)
subi r1, r1, 96
stmw r8, 0... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/lib_ppc/asm.S | 41 | 100 |
u-boot/u-boot:post/lib_ppc/asm.S:3 | .global cpu_post_exec_12
cpu_post_exec_12:
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
mr r3, r5
mr r4, r6
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); */
.global cpu_post_exec_11
cpu_post_exec_11:
mflr r0... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/lib_ppc/asm.S | 81 | 140 |
u-boot/u-boot:post/lib_ppc/asm.S:4 | cpu_post_exec_21:
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
li r0, 0
mtxer r0
lwz r0, 0(r4)
mtcr r0
mtlr r3
mr r3, r6
blrl
mfcr r0
lwz r4, 4(r1)
stw r0, 0(r4)
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_22 (ulong *code, ulong *cr, ul... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/lib_ppc/asm.S | 121 | 180 |
u-boot/u-boot:post/lib_ppc/asm.S:5 | mtlr r3
mr r3, r6
mr r4, r7
blrl
mfcr r0
lwz r4, 4(r1)
stw r0, 0(r4)
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); */
.global cpu_post_exec_12w
cpu_post_exec_12w:
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/lib_ppc/asm.S | 161 | 220 |
u-boot/u-boot:post/lib_ppc/asm.S:6 | mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
mtlr r3
lwz r3, 0(r4)
mr r4, r5
blrl
lwz r4, 0(r1)
stw r3, 0(r4)
lwz r0, 4(r1)
addi r1, r1, 8
mtlr r0
blr
/* void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3); */
.global cpu_post_exec_22w
cpu_post_exec_22w:
mflr r0
stwu r0, -4(r1)
stwu r... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/lib_ppc/asm.S | 201 | 260 |
u-boot/u-boot:post/lib_ppc/asm.S:7 | /* void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2); */
.global cpu_post_exec_21w
cpu_post_exec_21w:
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
mtlr r3
lwz r3, 0(r4)
blrl
lwz r5, 4(r1)
stw r3, 0(r5)
lwz r5, 0(r1)
stw r4, 0(r5)
lwz r0, 8(r1)
addi r1, r1, 12
mtlr r0
blr
/* voi... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/lib_ppc/asm.S | 241 | 300 |
u-boot/u-boot:post/lib_ppc/asm.S:8 | addi r1, r1, 12
mtlr r0
blr
/* void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump,
ulong cr); */
.global cpu_post_exec_31
cpu_post_exec_31:
mflr r0
stwu r0, -4(r1)
stwu r4, -4(r1)
stwu r5, -4(r1)
stwu r6, -4(r1)
mtlr r3
lwz r3, 0(r4)
lwz r4, 0(r5)
mr r6, r7
blrl
lwz r7, 8(r1)
s... | powerpc | gas-like | handwritten | u-boot/u-boot | post/lib_ppc/asm.S | GPL-2.0 | ad5bb451ade552c44bef9119d907929ebc2c126f | github | bootloader | https://github.com/u-boot/u-boot/blob/ad5bb451ade552c44bef9119d907929ebc2c126f/post/lib_ppc/asm.S | 281 | 340 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.