Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7D889C433EF for ; Wed, 20 Jul 2022 14:58:57 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DBE38807E0; Wed, 20 Jul 2022 16:58:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=unixzen.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=unixzen.com header.i=@unixzen.com header.b="XWTcUiKl"; dkim=pass (1024-bit key) header.d=unixzen.com header.i=@unixzen.com header.b="XWTcUiKl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7ED7E81118; Wed, 20 Jul 2022 16:58:53 +0200 (CEST) Received: from mx.dal1.terarocket.io (mx.dal1.terarocket.io [108.61.222.170]) by phobos.denx.de (Postfix) with ESMTP id 1035280756 for ; Wed, 20 Jul 2022 16:58:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=unixzen.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kallisti5@unixzen.com Received: by mx.dal1.terarocket.io (Postfix, from userid 1001) id AAABE5E4B8; Wed, 20 Jul 2022 14:58:48 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mx.dal1.terarocket.io AAABE5E4B8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unixzen.com; s=default; t=1658329128; bh=2fELSg83NhCyCCs16dPD7zdkg2gIZZzXhNI0qxEJNO4=; h=Date:From:Subject:To:From; b=XWTcUiKl2xqcX79ne1AwRKv5ooKEVvoBPhc7+6OOydZnwrM+J4qFLl5EUbzR0ZU9w BA1OSpHDJb48Tbtk2JcvdhWVN8osrNZvCcVLrDQYsi8RtAsCF82dvmgqgavR1PnczW fTFxsxR//uCH0Z/EeM3aVih8RlrWMaFVgcJL0hGA= Received: from mx.dal1.terarocket.io (localhost [IPv6:::1]) by mx.dal1.terarocket.io (Postfix) with ESMTPSA id EF41B5E2BB for ; Wed, 20 Jul 2022 14:58:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mx.dal1.terarocket.io EF41B5E2BB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unixzen.com; s=default; t=1658329128; bh=2fELSg83NhCyCCs16dPD7zdkg2gIZZzXhNI0qxEJNO4=; h=Date:From:Subject:To:From; b=XWTcUiKl2xqcX79ne1AwRKv5ooKEVvoBPhc7+6OOydZnwrM+J4qFLl5EUbzR0ZU9w BA1OSpHDJb48Tbtk2JcvdhWVN8osrNZvCcVLrDQYsi8RtAsCF82dvmgqgavR1PnczW fTFxsxR//uCH0Z/EeM3aVih8RlrWMaFVgcJL0hGA= MIME-Version: 1.0 Date: Wed, 20 Jul 2022 14:58:47 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.13.0 From: "Alex" Message-ID: <4da6efa408d7c0ecee0f0698d620a1d2@unixzen.com> Subject: Error: unrecognized opcode on riscv64 To: u-boot@lists.denx.de X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Attempting to compile the latest master code for qemu (virt) and the unma= tched shows the following error:=0A=0A arch/riscv/cpu/cpu.c: Assembler m= essages:=0A arch/riscv/cpu/cpu.c:96: Error: unrecognized opcode `csrs ss= tatus,a5'=0A arch/riscv/cpu/cpu.c:97: Error: unrecognized opcode `csrw 0= x003,0'=0A=0A=0AAny ideas on what's going on?=0A=0AToolchain:=0A=0A risc= v64-linux-gnu-gcc - gcc version 12.1.0 (GCC) =0A riscv64-linux-gnu-as= - GNU assembler (GNU Binutils) 2.36.1=0A=0ACompiling on ArchLinux= =0A=0A=0A -- Alex