Skip to content

Commit

Permalink
Merge branch 'work-around-morello-assembler-bug' into 'master'
Browse files Browse the repository at this point in the history
Use correct register class for dc instructions

See merge request eng/toolchain/bb-runtimes!45
  • Loading branch information
sebastianpoeplau committed Oct 4, 2023
2 parents 7e741e3 + 11fb5b9 commit a4ae601
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aarch64/morello/start.S
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,9 @@ __dcache_loop_way:
lsl x7, x4, x2
orr x9, x9, x7 /* map set number to cisw value */
tbz w1, #0, 1f /* invalidate */
dc isw, c9
dc isw, x9
b 2f
1: dc cisw, c9 /* clean & invalidate */
1: dc cisw, x9 /* clean & invalidate */
2: subs x6, x6, #1 /* ways := ways - 1 */
b.ge __dcache_loop_way
subs x4, x4, #1 /* set := set - 1 */
Expand Down

0 comments on commit a4ae601

Please sign in to comment.