Date: Fri, 10 Jun 2022 13:19:04 +0000 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 Message-ID: <bug-264590-29464-2R60tT4WlP@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264590-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-264590-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264590 --- Comment #4 from var@schellong.biz --- The assembler exchanges fdivp <=3D=3D> fdivrp, fsubp <=3D=3D> fsubrp Old code from 1991: I have therein to change fsubr --> fsub, fdivr --> fdiv to get _today_ correct behavior. -------------------------------------------------------- ; sc/24.1.91 TITLE acos87 .386 .387 .MODEL small PUBLIC _acos87 .DATA COMM _deg_87:DWORD .DATA? .CONST $radtodeg DT 57.295779513082320876798 ALIGN 4 .CODE _acos87 PROC fld QWORD PTR [esp+4] fld st fmul st, st fld1 fsubr fsqrt fdivr fld1 fpatan mov eax, _deg_87 cmp eax, 0 jg SHORT $deg ret --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264590-29464-2R60tT4WlP>