From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id BF3BB6D73A6 for <9fans@9fans.net>; Thu, 5 Nov 2020 19:47:48 -0500 (EST) (envelope-from charles.forsyth@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 16BF4B3CABE; Thu, 5 Nov 2020 19:47:48 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1604623668; b=Y+RC97F2dxAspwsEPYh9Mh0B63r8aRM6+KHMwQDTnP8CyWYRQy Th8W5VE2NsE8IOlolziNoe4Io6hLNXKESsPuKlLkz5lXusiXtOBzxYNJsHNeHZWA 6kn7+g47FOF5bR5IyTpn/D6KEJWKoe/jUcD2U7u9MtrpRC56Srn8UuHiXetz3UHW hKw1yHB6bGm9hgpF5yOISjiC15L1DDMh99+vi1fcKH7VUpYlNcIaBoLbKHbSi1Ns ih96yX01Jqul2TG9vAYen4LAzEyxwrGTp7Bpy7+Fu0nY6tyj8LNfYjVYUpT3tw7k oJgCtCZPnLNB9Z7N9SZ7zwyGj7ddEVoyoF5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1604623668; bh=0aB67nzTFqeW8Xej0WORz3eyEkeKV2RYP41h9cvEIhM=; b=JQL3PbDu5PC2 xVtLYvSEM2cxboLq+H/G8nK74z3uLTkwN0Fldxue4HCfyWNTov9DZbeCTsPJvCAO C6qG8gYQ8LYdI4v5/0kEUhdKrC8TH8oVtFJLCCWdPS6/S82ITcv+/cxx2zflC1Xi F8Od3sYJtgG5tRNlnxo4pzwBsbNvoTNvJmzsm6sJQRkL5NmLsCIkuKDMuweRWDym RDHclHzBYch0YaqgAXanlgRg04TSZ+RzP/j1939xCvld65Tmryt3/dMTy45Htjbk rDOL6RqPIBT4kblnHjIzy/AdTJUessR1SIB9nyB36Z14Zfg0BHj/szR+TA54kUuW aHRAyWjiEw== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=PNKM7oOr header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.217.45 (mail-vs1-f45.google.com); spf=pass smtp.mailfrom=charles.forsyth@gmail.com smtp.helo=mail-vs1-f45.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=ETZBpiOJ; x-ptr=pass smtp.helo=mail-vs1-f45.google.com policy.ptr=mail-vs1-f45.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=PNKM7oOr header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.217.45 (mail-vs1-f45.google.com); spf=pass smtp.mailfrom=charles.forsyth@gmail.com smtp.helo=mail-vs1-f45.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=ETZBpiOJ; x-ptr=pass smtp.helo=mail-vs1-f45.google.com policy.ptr=mail-vs1-f45.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedujedruddtkedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhf ffkffuvfgtsegrtderredttdejnecuhfhrohhmpeevhhgrrhhlvghsucfhohhrshihthhh uceotghhrghrlhgvshdrfhhorhhshihthhesghhmrghilhdrtghomheqnecuggftrfgrth htvghrnhepfeeftefhvefhveetjedthfeifeeiveehjeelvdegvedvgeelgfevtdelgfeg ieeknecuffhomhgrihhnpehtohhpihgtsghogidrtghomhenucfkphepvddtledrkeehrd dvudejrdegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedv tdelrdekhedrvddujedrgeehpdhhvghlohepmhgrihhlqdhvshduqdhfgeehrdhgohhogh hlvgdrtghomhdpmhgrihhlfhhrohhmpeeotghhrghrlhgvshdrfhhorhhshihthhesghhm rghilhdrtghomhequcfukfgkgfepkeegleef X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'charles.forsyth@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="charles.forsyth@gmail.com"; helo=mail-vs1-f45.google.com; client-ip=209.85.217.45 Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Thu, 5 Nov 2020 19:47:48 -0500 (EST) (envelope-from charles.forsyth@gmail.com) Received: by mail-vs1-f45.google.com with SMTP id w25so1822233vsk.9 for <9fans@9fans.net>; Thu, 05 Nov 2020 16:47:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0aB67nzTFqeW8Xej0WORz3eyEkeKV2RYP41h9cvEIhM=; b=PNKM7oOrYvi2/nkLZEMAt2PpNSvRYU9StIQkQQSxG68AaN8l65PbQqbJLQZTBVYelw g2IQgLQkWbZJ6+U0AVV6csbSQoMey57KgtXxqiWfTkX1jjOiQcu9zmoGIKEWq1gCCSiL b6AtG13Suil/s1SKYwUxlXKPtYqVDC4yRy6LdscyMqbOldPmXrWl5/ZOfHbSXpW/6ZaA p4BEwGiJQPvqxVAMrjLpd05AFYH0zp2ptKbzyIzX4tVFiQiVIYXFwaFok0rnGAHIRG1p uJAjukcj9saSITsLhx1n/ZKrIUrlsY6Jlf1AXcTiycc3Qs9FZ+UVS2hnL95UUh/Vn7iq S1zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=0aB67nzTFqeW8Xej0WORz3eyEkeKV2RYP41h9cvEIhM=; b=ETZBpiOJfMfg1L8mL+iC935KIYxjTfn81SY+TZndT9qPJlEmUWle6VdaeNmnjVF3bc xxNCV/VLaOFG14CtMGKMpJ0leevPCYwaCdxMnJHwtnvTMU28PRiDEM6dhZrBnscuKRmm L98hFNEf/dO82rtr7qCYQHyOFc5cUlvpKtOx7dJYcmDKK2VwTR76KZC5CcfxacABAm9/ 9ZZ07MAuZTrT93W5J+SSGT/6xrIE0uCR5O9erpm1d5Jh33YWObn67gR1IyrBLCqmQuJa Xam2L30oZtJprw+bTRNQZExBfuJaezU1UTK9Osj0rnpT/GtqEmZhF7NoD2HZn3A/NGfg wxGA== X-Gm-Message-State: AOAM532JVF8N1TJPy00ISHu7pnIwHmbo5Anfu6AhLfLMuIlS3vOGbJlH IURHD+bvzCQlsXl6sA9GRTdcFJDOnWraSCyGh4s9ebcmTMI= X-Google-Smtp-Source: ABdhPJzYeJHugDAJNdH5jKruFFYYRvC1DDSLvIRjlqz6KiHkkkEbpyIZ1tXuK1C7kwkXmYhbmW2gXZaW+kEDgbACF24= X-Received: by 2002:a67:2c53:: with SMTP id s80mr3448448vss.12.1604623667694; Thu, 05 Nov 2020 16:47:47 -0800 (PST) MIME-Version: 1.0 References: <626A8F8E-508D-4545-8024-78A1B643D0EE@gmail.com> In-Reply-To: From: Charles Forsyth Date: Fri, 6 Nov 2020 00:47:36 +0000 Message-ID: Subject: Re: [9fans] Arm Thumb compiler for Cortex-M To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary="000000000000b611c005b3658fe2" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: b3cf60fa-1fc9-11eb-86f4-ba744fab5568 --000000000000b611c005b3658fe2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable tc is different because the register allocation and code generation strategies are different from normal ARM On Fri, Nov 6, 2020 at 12:46 AM Charles Forsyth wrote: > It's utils/tc in the Inferno tree. 5a does both ARM32 and Thumb (because > it's abstract assembly), as does 5l. > > On Fri, Nov 6, 2020 at 12:28 AM Don A. Bailey > wrote: > >> Any source available? >> >> On Nov 5, 2020, at 6:11 PM, Charles Forsyth >> wrote: >> >> =EF=BB=BF >> There was a 5[ac] variant for Inferno (ta, tc) that produced Thumb code, >> and 5l could link Thumb and ARM32 code. >> That wasn't extended once Thumb-2 was issued, since it was >> different enough to require a fair amount of work and we had no >> immediate application on the Cortex. >> >> >> On Thu, Nov 5, 2020 at 11:38 PM Thaddeus Woskowiak >> wrote: >> >>> I would like to know if anyone is working on or exists an Arm Thumb >>> compiler so one could use plan 9 to program Arm Cortex M0/3/4/7 >>> microcontrollers directly. I know of Charles Forsyth's xc AVR compiler >>> which is also interesting. Though I have yet to try it out. >>> >>> -taw >>> >>> ------------------------------------------ >>> 9fans: 9fans >>> Permalink: >>> https://9fans.topicbox.com/groups/9fans/Tc22ac8ae61456f10-M53d9114f6a2c= 6402ef14fd63 >>> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription >>> >> *9fans * / 9fans / see discussions >> + participants >> + delivery options >> Permalink >> >> > --000000000000b611c005b3658fe2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
tc is different because the register allocation and code g= eneration strategies are different from normal ARM

On Fri, Nov 6, 2020 at 12= :46 AM Charles Forsyth <cha= rles.forsyth@gmail.com> wrote:
It's utils/tc in the Inferno tre= e. 5a does both ARM32 and Thumb (because it's abstract=C2=A0assembly), = as does 5l.

On Fri, Nov 6, 2020 at 12:28 AM Don A. Bailey <don.bailey@gmail.com> wr= ote:
Any source available?

On Nov 5, 2020, at 6:11 PM, Charles Forsyth <charles.forsyth@= gmail.com> wrote:

=EF=BB=BF
There was a 5[ac] variant for = Inferno (ta, tc) that produced Thumb code, and 5l could link Thumb and ARM3= 2 code.
That wasn't extended once Thumb-2 was issued, since it was = different=C2=A0enough to require a fair amount of work and we had no immedi= ate=C2=A0application=C2=A0on the Cortex.


On Thu, Nov 5,= 2020 at 11:38 PM Thaddeus Woskowiak <tswoskowiak@gmail.com> wrote:
I would like to know if anyon= e is working on or exists an Arm Thumb
compiler so one could use plan 9 to program Arm Cortex M0/3/4/7
microcontrollers directly. I know of Charles Forsyth's xc AVR compiler<= br> which is also interesting. Though I have yet to try it out.

-taw

------------------------------------------
9fans: 9fans
Permalink: https:= //9fans.topicbox.com/groups/9fans/Tc22ac8ae61456f10-M53d9114f6a2c6402ef14fd= 63
Delivery options: https://9fans.topicbox.com/gro= ups/9fans/subscription
--000000000000b611c005b3658fe2--