Skip to content

Commit 964bc5d

Browse files
committed
s390/vx: remove comments from macros which break LLVM's IAS
LLVM's integrated assembler does not like comments within macros: <instantiation>:3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ Remove them, since they are obvious anyway. Signed-off-by: Heiko Carstens <[email protected]>
1 parent 68a971a commit 964bc5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/s390/include/asm/vx-insn.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
.macro VLM vfrom, vto, disp, base, hint=3
367367
VX_NUM v1, \vfrom
368368
VX_NUM v3, \vto
369-
GR_NUM b2, \base /* Base register */
369+
GR_NUM b2, \base
370370
.word 0xE700 | ((v1&15) << 4) | (v3&15)
371371
.word (b2 << 12) | (\disp)
372372
MRXBOPC \hint, 0x36, v1, v3
@@ -376,7 +376,7 @@
376376
.macro VST vr1, disp, index="%r0", base
377377
VX_NUM v1, \vr1
378378
GR_NUM x2, \index
379-
GR_NUM b2, \base /* Base register */
379+
GR_NUM b2, \base
380380
.word 0xE700 | ((v1&15) << 4) | (x2&15)
381381
.word (b2 << 12) | (\disp)
382382
MRXBOPC 0, 0x0E, v1
@@ -386,7 +386,7 @@
386386
.macro VSTM vfrom, vto, disp, base, hint=3
387387
VX_NUM v1, \vfrom
388388
VX_NUM v3, \vto
389-
GR_NUM b2, \base /* Base register */
389+
GR_NUM b2, \base
390390
.word 0xE700 | ((v1&15) << 4) | (v3&15)
391391
.word (b2 << 12) | (\disp)
392392
MRXBOPC \hint, 0x3E, v1, v3

0 commit comments

Comments
 (0)