[linux-next:master 4659/6579] arch/s390/crypto/chacha-s390.S:315: Error: Unrecognized opcode: `clgfi'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ea922272cbe547bdf58da2aaf240d59782c6a009
commit: b087dfab4d3902681550fd1f5ff9c3e942059478 [4659/6579] s390/crypto: add SIMD implementation for ChaCha20
config: s390-randconfig-r034-20211212 (https://download.01.org/0day-ci/archive/20211214/202112140127.k6xn4FFp-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b087dfab4d3902681550fd1f5ff9c3e942059478
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout b087dfab4d3902681550fd1f5ff9c3e942059478
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash arch/s390/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   arch/s390/crypto/chacha-s390.S: Assembler messages:
>> arch/s390/crypto/chacha-s390.S:315: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:342: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:369: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:475: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:728: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:757: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:783: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:810: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:840: Error: Unrecognized opcode: `clgfi'
   arch/s390/crypto/chacha-s390.S:867: Error: Unrecognized opcode: `clgfi'


vim +315 arch/s390/crypto/chacha-s390.S

    80	
    81	ENTRY(chacha20_vx_4x)
    82		stmg	%r6,%r7,6*8(SP)
    83	
    84		larl	%r7,.Lsigma
    85		lhi	%r0,10
    86		lhi	%r1,0
    87	
    88		VL	K0,0,,%r7		# load sigma
    89		VL	K1,0,,KEY		# load key
    90		VL	K2,16,,KEY
    91		VL	K3,0,,COUNTER		# load counter
    92	
    93		VL	BEPERM,0x40,,%r7
    94		VL	CTR,0x50,,%r7
    95	
    96		VLM	XA0,XA3,0x60,%r7,4	# load [smashed] sigma
    97	
    98		VREPF	XB0,K1,0		# smash the key
    99		VREPF	XB1,K1,1
   100		VREPF	XB2,K1,2
   101		VREPF	XB3,K1,3
   102	
   103		VREPF	XD0,K3,0
   104		VREPF	XD1,K3,1
   105		VREPF	XD2,K3,2
   106		VREPF	XD3,K3,3
   107		VAF	XD0,XD0,CTR
   108	
   109		VREPF	XC0,K2,0
   110		VREPF	XC1,K2,1
   111		VREPF	XC2,K2,2
   112		VREPF	XC3,K2,3
   113	
   114	.Loop_4x:
   115		VAF	XA0,XA0,XB0
   116		VX	XD0,XD0,XA0
   117		VERLLF	XD0,XD0,16
   118	
   119		VAF	XA1,XA1,XB1
   120		VX	XD1,XD1,XA1
   121		VERLLF	XD1,XD1,16
   122	
   123		VAF	XA2,XA2,XB2
   124		VX	XD2,XD2,XA2
   125		VERLLF	XD2,XD2,16
   126	
   127		VAF	XA3,XA3,XB3
   128		VX	XD3,XD3,XA3
   129		VERLLF	XD3,XD3,16
   130	
   131		VAF	XC0,XC0,XD0
   132		VX	XB0,XB0,XC0
   133		VERLLF	XB0,XB0,12
   134	
   135		VAF	XC1,XC1,XD1
   136		VX	XB1,XB1,XC1
   137		VERLLF	XB1,XB1,12
   138	
   139		VAF	XC2,XC2,XD2
   140		VX	XB2,XB2,XC2
   141		VERLLF	XB2,XB2,12
   142	
   143		VAF	XC3,XC3,XD3
   144		VX	XB3,XB3,XC3
   145		VERLLF	XB3,XB3,12
   146	
   147		VAF	XA0,XA0,XB0
   148		VX	XD0,XD0,XA0
   149		VERLLF	XD0,XD0,8
   150	
   151		VAF	XA1,XA1,XB1
   152		VX	XD1,XD1,XA1
   153		VERLLF	XD1,XD1,8
   154	
   155		VAF	XA2,XA2,XB2
   156		VX	XD2,XD2,XA2
   157		VERLLF	XD2,XD2,8
   158	
   159		VAF	XA3,XA3,XB3
   160		VX	XD3,XD3,XA3
   161		VERLLF	XD3,XD3,8
   162	
   163		VAF	XC0,XC0,XD0
   164		VX	XB0,XB0,XC0
   165		VERLLF	XB0,XB0,7
   166	
   167		VAF	XC1,XC1,XD1
   168		VX	XB1,XB1,XC1
   169		VERLLF	XB1,XB1,7
   170	
   171		VAF	XC2,XC2,XD2
   172		VX	XB2,XB2,XC2
   173		VERLLF	XB2,XB2,7
   174	
   175		VAF	XC3,XC3,XD3
   176		VX	XB3,XB3,XC3
   177		VERLLF	XB3,XB3,7
   178	
   179		VAF	XA0,XA0,XB1
   180		VX	XD3,XD3,XA0
   181		VERLLF	XD3,XD3,16
   182	
   183		VAF	XA1,XA1,XB2
   184		VX	XD0,XD0,XA1
   185		VERLLF	XD0,XD0,16
   186	
   187		VAF	XA2,XA2,XB3
   188		VX	XD1,XD1,XA2
   189		VERLLF	XD1,XD1,16
   190	
   191		VAF	XA3,XA3,XB0
   192		VX	XD2,XD2,XA3
   193		VERLLF	XD2,XD2,16
   194	
   195		VAF	XC2,XC2,XD3
   196		VX	XB1,XB1,XC2
   197		VERLLF	XB1,XB1,12
   198	
   199		VAF	XC3,XC3,XD0
   200		VX	XB2,XB2,XC3
   201		VERLLF	XB2,XB2,12
   202	
   203		VAF	XC0,XC0,XD1
   204		VX	XB3,XB3,XC0
   205		VERLLF	XB3,XB3,12
   206	
   207		VAF	XC1,XC1,XD2
   208		VX	XB0,XB0,XC1
   209		VERLLF	XB0,XB0,12
   210	
   211		VAF	XA0,XA0,XB1
   212		VX	XD3,XD3,XA0
   213		VERLLF	XD3,XD3,8
   214	
   215		VAF	XA1,XA1,XB2
   216		VX	XD0,XD0,XA1
   217		VERLLF	XD0,XD0,8
   218	
   219		VAF	XA2,XA2,XB3
   220		VX	XD1,XD1,XA2
   221		VERLLF	XD1,XD1,8
   222	
   223		VAF	XA3,XA3,XB0
   224		VX	XD2,XD2,XA3
   225		VERLLF	XD2,XD2,8
   226	
   227		VAF	XC2,XC2,XD3
   228		VX	XB1,XB1,XC2
   229		VERLLF	XB1,XB1,7
   230	
   231		VAF	XC3,XC3,XD0
   232		VX	XB2,XB2,XC3
   233		VERLLF	XB2,XB2,7
   234	
   235		VAF	XC0,XC0,XD1
   236		VX	XB3,XB3,XC0
   237		VERLLF	XB3,XB3,7
   238	
   239		VAF	XC1,XC1,XD2
   240		VX	XB0,XB0,XC1
   241		VERLLF	XB0,XB0,7
   242		brct	%r0,.Loop_4x
   243	
   244		VAF	XD0,XD0,CTR
   245	
   246		VMRHF	XT0,XA0,XA1		# transpose data
   247		VMRHF	XT1,XA2,XA3
   248		VMRLF	XT2,XA0,XA1
   249		VMRLF	XT3,XA2,XA3
   250		VPDI	XA0,XT0,XT1,0b0000
   251		VPDI	XA1,XT0,XT1,0b0101
   252		VPDI	XA2,XT2,XT3,0b0000
   253		VPDI	XA3,XT2,XT3,0b0101
   254	
   255		VMRHF	XT0,XB0,XB1
   256		VMRHF	XT1,XB2,XB3
   257		VMRLF	XT2,XB0,XB1
   258		VMRLF	XT3,XB2,XB3
   259		VPDI	XB0,XT0,XT1,0b0000
   260		VPDI	XB1,XT0,XT1,0b0101
   261		VPDI	XB2,XT2,XT3,0b0000
   262		VPDI	XB3,XT2,XT3,0b0101
   263	
   264		VMRHF	XT0,XC0,XC1
   265		VMRHF	XT1,XC2,XC3
   266		VMRLF	XT2,XC0,XC1
   267		VMRLF	XT3,XC2,XC3
   268		VPDI	XC0,XT0,XT1,0b0000
   269		VPDI	XC1,XT0,XT1,0b0101
   270		VPDI	XC2,XT2,XT3,0b0000
   271		VPDI	XC3,XT2,XT3,0b0101
   272	
   273		VMRHF	XT0,XD0,XD1
   274		VMRHF	XT1,XD2,XD3
   275		VMRLF	XT2,XD0,XD1
   276		VMRLF	XT3,XD2,XD3
   277		VPDI	XD0,XT0,XT1,0b0000
   278		VPDI	XD1,XT0,XT1,0b0101
   279		VPDI	XD2,XT2,XT3,0b0000
   280		VPDI	XD3,XT2,XT3,0b0101
   281	
   282		VAF	XA0,XA0,K0
   283		VAF	XB0,XB0,K1
   284		VAF	XC0,XC0,K2
   285		VAF	XD0,XD0,K3
   286	
   287		VPERM	XA0,XA0,XA0,BEPERM
   288		VPERM	XB0,XB0,XB0,BEPERM
   289		VPERM	XC0,XC0,XC0,BEPERM
   290		VPERM	XD0,XD0,XD0,BEPERM
   291	
   292		VLM	XT0,XT3,0,INP,0
   293	
   294		VX	XT0,XT0,XA0
   295		VX	XT1,XT1,XB0
   296		VX	XT2,XT2,XC0
   297		VX	XT3,XT3,XD0
   298	
   299		VSTM	XT0,XT3,0,OUT,0
   300	
   301		la	INP,0x40(INP)
   302		la	OUT,0x40(OUT)
   303		aghi	LEN,-0x40
   304	
   305		VAF	XA0,XA1,K0
   306		VAF	XB0,XB1,K1
   307		VAF	XC0,XC1,K2
   308		VAF	XD0,XD1,K3
   309	
   310		VPERM	XA0,XA0,XA0,BEPERM
   311		VPERM	XB0,XB0,XB0,BEPERM
   312		VPERM	XC0,XC0,XC0,BEPERM
   313		VPERM	XD0,XD0,XD0,BEPERM
   314	
 > 315		clgfi	LEN,0x40
   316		jl	.Ltail_4x
   317	
   318		VLM	XT0,XT3,0,INP,0
   319	
   320		VX	XT0,XT0,XA0
   321		VX	XT1,XT1,XB0
   322		VX	XT2,XT2,XC0
   323		VX	XT3,XT3,XD0
   324	
   325		VSTM	XT0,XT3,0,OUT,0
   326	
   327		la	INP,0x40(INP)
   328		la	OUT,0x40(OUT)
   329		aghi	LEN,-0x40
   330		je	.Ldone_4x
   331	
   332		VAF	XA0,XA2,K0
   333		VAF	XB0,XB2,K1
   334		VAF	XC0,XC2,K2
   335		VAF	XD0,XD2,K3
   336	
   337		VPERM	XA0,XA0,XA0,BEPERM
   338		VPERM	XB0,XB0,XB0,BEPERM
   339		VPERM	XC0,XC0,XC0,BEPERM
   340		VPERM	XD0,XD0,XD0,BEPERM
   341	
   342		clgfi	LEN,0x40
   343		jl	.Ltail_4x
   344	
   345		VLM	XT0,XT3,0,INP,0
   346	
   347		VX	XT0,XT0,XA0
   348		VX	XT1,XT1,XB0
   349		VX	XT2,XT2,XC0
   350		VX	XT3,XT3,XD0
   351	
   352		VSTM	XT0,XT3,0,OUT,0
   353	
   354		la	INP,0x40(INP)
   355		la	OUT,0x40(OUT)
   356		aghi	LEN,-0x40
   357		je	.Ldone_4x
   358	
   359		VAF	XA0,XA3,K0
   360		VAF	XB0,XB3,K1
   361		VAF	XC0,XC3,K2
   362		VAF	XD0,XD3,K3
   363	
   364		VPERM	XA0,XA0,XA0,BEPERM
   365		VPERM	XB0,XB0,XB0,BEPERM
   366		VPERM	XC0,XC0,XC0,BEPERM
   367		VPERM	XD0,XD0,XD0,BEPERM
   368	
   369		clgfi	LEN,0x40
   370		jl	.Ltail_4x
   371	
   372		VLM	XT0,XT3,0,INP,0
   373	
   374		VX	XT0,XT0,XA0
   375		VX	XT1,XT1,XB0
   376		VX	XT2,XT2,XC0
   377		VX	XT3,XT3,XD0
   378	
   379		VSTM	XT0,XT3,0,OUT,0
   380	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux