From nobody Fri Jun 10 13:06:30 2022 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4094A85D3E8 for ; Fri, 10 Jun 2022 13:06:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LKLnf5v61z3DB7 for ; Fri, 10 Jun 2022 13:06:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 652A518ED5 for ; Fri, 10 Jun 2022 13:06:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25AD6U7T015301 for ; Fri, 10 Jun 2022 13:06:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25AD6U45015300 for toolchain@FreeBSD.org; Fri, 10 Jun 2022 13:06:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 264590] assembler generates wrong opcodes of instructions fdiv fdivp fdivr fdivrp fsub fsubp fsubr fsubrp Date: Fri, 10 Jun 2022 13:06:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: gnu X-Bugzilla-Version: 11.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: var@schellong.biz X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654866391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4Eqb2mtdNp4fk9nvhra8tWwaB15OOrxFaFtgoeSBJO4=; b=uOJ2PI6CA6NLBPxetuvVBvwLfxrg92E8QF+Y5uymjclB89P3kgkxg93aW94PgUBsQHgDGa qAUnY5xmgaXy+H9QsoVi0IxKcUMg6TGwCFHDk7h3EbAjJ56Lm2CLWBNK4vmpu/5nR0JEJ5 dIovn/2XnlBpzdXTRsB42Mn+OJwy3vzNZfmHQu3l1V6sQPOYTdBozJ1JgICO7ao/JMDYUO x+YPlrANHBPonK7hoi2DkW3b/Xfg2GlFXmky08zLbCdzJRJ6CAt2qNmgcfnEz0bp9kmNB1 t/XYXZ0os7SePC6vgb6Px19oPs7oPrC+MoJGxGFkBInUsJIQNgh731Z1qwfiQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654866391; a=rsa-sha256; cv=none; b=ACD/RD+Jgfb62rpG+xxpKsfWkBU2Jij7Cmmti3wfrLDctyEPGBLJsX9DQoK7lE+VfKoK0a 9L9PeOwd46ZF4rVD8UNOSvsOdFQm10xc2dAq/gqsgdl6O2Ibz6VIhIbgmOWDdNbPSCqxtH FexyNLB/fq3DL9XLqvbEo9pUa2ETQOqFXeXGET8pXjJUlj76EvsIRv7iUys+3cF+ZFcJmF GKg/a8A8yuMr19g/ZhdlLzFBs0QlPiWQzrWx6i1X5CFFvqKkck/9kJbfdyx/7F85CpkqtQ 8KaUE1zLoP9S0UbSLounBQcY4epa+GsKR1IyX+t70iSn7/+xvqFxz7YfibNBIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264590 --- Comment #3 from var@schellong.biz --- Intel: FDIV ST(0), ST(i) D8 F0+i Divide ST(0) by ST(i) and store result in ST(0= ). FDIV ST(i), ST(0) DC F8+i Divide ST(i) by ST(0) and store result in ST(i= ). FDIVP ST(i), ST(0) DE F8+i Divide ST(i) by ST(0), store result in ST(i), = and pop the register stack. FDIVP DE F9 Divide ST(1) by ST(0), store result in ST(1), = and pop the register stack. FDIVRP DE F1 Divide ST(0) by ST(1), store result in ST(1), = and pop the register stack. AMD: FDIV ST(0), ST(i) D8 F0+i Replace ST(0) with ST(0)/ST(i). FDIV ST(i), ST(0) DC F8+i Replace ST(i) with ST(i)/ST(0). FDIVP ST(i), ST(0) DE F8+i Replace ST(i) with ST(i)/ST(0), and pop the x87 register stack. FDIVP DE F9 Replace ST(1) with ST(1)/ST(0), and pop the x87 register stack. My opcodes 'DE F9' and 'DE F1' are correct. --=20 You are receiving this mail because: You are the assignee for the bug.=