From: oss@kalray.eu
To: barebox@lists.infradead.org
Cc: jmaselbas@kalray.eu, ysionneau@kalray.eu,
Paul Iannetta <piannetta@kalray.eu>
Subject: [PATCH 3/3] kvx: Fix asm syntax in start.S
Date: Tue, 27 Jun 2023 17:42:02 +0200 [thread overview]
Message-ID: <20230627154202.8976-3-oss@kalray.eu> (raw)
In-Reply-To: <20230627154202.8976-1-oss@kalray.eu>
From: Paul Iannetta <piannetta@kalray.eu>
Previously our assembler considered all separators (",", "?", "=", "[]")
to be the same, this is not the case anymore hence we need to fix all
the misformed assembly.
Signed-off-by: Paul Iannetta <piannetta@kalray.eu>
Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
---
arch/kvx/cpu/start.S | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/arch/kvx/cpu/start.S b/arch/kvx/cpu/start.S
index 83bda7b96f..342c7d38a5 100644
--- a/arch/kvx/cpu/start.S
+++ b/arch/kvx/cpu/start.S
@@ -51,11 +51,11 @@ ENTRY(kvx_start)
/* Setup default processor status */
make $r25 = PS_WFXL_START_VALUE
;;
- wfxl $ps = $r25
+ wfxl $ps, $r25
;;
make $r25 = PCR_WFXM_START_VALUE
;;
- wfxm $pcr = $r25
+ wfxm $pcr, $r25
;;
/* Clear BSS */
make $r22 = __bss_stop
@@ -65,7 +65,7 @@ ENTRY(kvx_start)
make $r24 = 0
;;
/* Divide by 16 for hardware loop */
- srld $r22, $r22, 4
+ srld $r22 = $r22, 4
make $r25 = 0
;;
/* Clear bss with hardware loop */
@@ -76,7 +76,7 @@ ENTRY(kvx_start)
;;
clear_bss_done:
/* Setup stack */
- make $sp, __stack_start
+ make $sp = __stack_start
;;
call kvx_lowlevel_setup
;;
@@ -89,36 +89,36 @@ ENDPROC(kvx_start)
#define request_ownership(__pl) ;\
make $r21 = SYO_WFXL_VALUE_##__pl ;\
;; ;\
- wfxl $syow = $r21 ;\
+ wfxl $syow, $r21 ;\
;; ;\
make $r21 = HTO_WFXL_VALUE_##__pl ;\
;; ;\
- wfxl $htow = $r21 ;\
+ wfxl $htow, $r21 ;\
;; ;\
make $r21 = MO_WFXL_VALUE_##__pl ;\
make $r22 = MO_WFXM_VALUE_##__pl ;\
;; ;\
- wfxl $mow = $r21 ;\
+ wfxl $mow, $r21 ;\
;; ;\
- wfxm $mow = $r22 ;\
+ wfxm $mow, $r22 ;\
;; ;\
make $r21 = ITO_WFXL_VALUE_##__pl ;\
make $r22 = ITO_WFXM_VALUE_##__pl ;\
;; ;\
- wfxl $itow = $r21 ;\
+ wfxl $itow, $r21 ;\
;; ;\
- wfxm $itow = $r22 ;\
+ wfxm $itow, $r22 ;\
;; ;\
make $r21 = PSO_WFXL_VALUE_##__pl ;\
make $r22 = PSO_WFXM_VALUE_##__pl ;\
;; ;\
- wfxl $psow = $r21 ;\
+ wfxl $psow, $r21 ;\
;; ;\
- wfxm $psow = $r22 ;\
+ wfxm $psow, $r22 ;\
;; ;\
make $r21 = DO_WFXL_VALUE_##__pl ;\
;; ;\
- wfxl $dow = $r21 ;\
+ wfxl $dow, $r21 ;\
;;
/**
--
2.17.1
next prev parent reply other threads:[~2023-06-27 15:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 15:42 [PATCH 1/3] kvx: Add missing include/asm/mmu.h oss
2023-06-27 15:42 ` [PATCH 2/3] kvx: Replace dinval alias with d1inval oss
2023-06-27 15:42 ` oss [this message]
2023-06-28 8:46 ` [PATCH 1/3] kvx: Add missing include/asm/mmu.h Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230627154202.8976-3-oss@kalray.eu \
--to=oss@kalray.eu \
--cc=barebox@lists.infradead.org \
--cc=jmaselbas@kalray.eu \
--cc=piannetta@kalray.eu \
--cc=ysionneau@kalray.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox