Skip to content

Commit ca32baf

Browse files
committed
use .word for lsx/lasx insn
1 parent b3d8c6e commit ca32baf

3 files changed

Lines changed: 363 additions & 316 deletions

File tree

arch/loongarch/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,12 @@ config AS_HAS_EXPLICIT_RELOCS
261261
def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x))
262262

263263
config CC_HAS_LSX_VECTORS
264-
def_bool $(cc-option,-mlsx)
264+
bool
265+
default y
265266

266267
config CC_HAS_LASX_VECTORS
267-
def_bool $(cc-option,-mlasx)
268+
bool
269+
default y
268270

269271
menu "Kernel type and options"
270272

0 commit comments

Comments
 (0)