From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pb-smtp20.pobox.com ([173.228.157.52]) by ewsd; Sat Aug 1 14:42:11 EDT 2020 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 493BED91E8 for <9front@9front.org>; Sat, 1 Aug 2020 14:42:00 -0400 (EDT) (envelope-from unobe@cpan.org) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :from:to:subject:date:mime-version:content-type :content-transfer-encoding; s=sasl; bh=ln1NAimBlqpP6dr3tigG7KPzW W4=; b=EkcbwuAgu0uRocBIs9uTgJHFbE+lkl82nxJ7BjOHyJx0ZdklXXHkoBg3E RGMNNOj4L6UbEbMFRZS3Hgfe3EWzCzmE715n5hBQolub4ON5OALhOzCrCrdSkI0h 670wWXqo8nthsWWv7vIt0ohgbnb1emlBkDsspRGw/9TYBoIM6A= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 30149D91E7 for <9front@9front.org>; Sat, 1 Aug 2020 14:42:00 -0400 (EDT) (envelope-from unobe@cpan.org) Received: from samwise (unknown [137.25.138.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 59A8DD91E6 for <9front@9front.org>; Sat, 1 Aug 2020 14:41:57 -0400 (EDT) (envelope-from unobe@cpan.org) Message-ID: <4805B3AEFECCAC9B0E43ACC47F838B40@smtp.pobox.com> From: Romano To: 9front@9front.org Subject: Re: arm64 fails to link when float converted to int (Was Re: [9front] netsurf native frontend (text_insert: illegal combination FCVTZSDW FCON NONE REG)) Date: Sat, 1 Aug 2020 11:41:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: AD93DF5C-D426-11EA-AA20-F0EA2EB3C613-09620299!pb-smtp20.pobox.com List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: shared distributed full-stack lifecycle solution > this is clearly a compiler bug. > > lets compare with the other compilers: > ... Thank you very much for the guided walk-through, and providing a patch to fix! It's been two decades since I looked at assembler before this past week or so, and therefore your notes were helpful in giving me an overview of what was happening (the -S flag is handy). I still need to take some more time in order to really understand the architectural differences (e.g., the intel 'haha' moment), but some other projects are most likely going to take priority if I don't run into any other compiler bugs. > we'll need to to do a bunch of test now to make sure this > change doesnt break anything. > > feel free to test and report any errors would be appreciated. On my rpi4, I re-made 7c with the patch and installed it, then did 'cd /sys/src; mk clean; mk': no error occurred. I also reverted the modification I had made for netsurf native, mk clean'd, and it built without modification too. Should I be kicking the tires in some other way?