Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] daily kan-ban update 06may2020
Date: Wed, 6 May 2020 17:33:12 +0100
Message-ID: <CAPweEDxfzQKeSWh9RLffvW7HL99dysOHz0Go-+9+JQfYOGdmqA@mail.gmail.com> (raw)
In-Reply-To: <CAPweEDw2fiu0+kZBFEyecdh0Ub_2H_tOyWbe1CzOB84_n=sLOQ@mail.gmail.com>

btw at some point, michael, we need to stop using the "standard"
python operators and use explicit functions.

oh.  this is another way to fix it.  add functions eq, gt, ge to
globals, and get the codegenerato to do this instead:

  BO[2] | (eq(CTR[M:64],0)) ^ BO[3]

then, eq() can return a SelectableInt(x, bits=1) without having that
duplicated everywhere.

l.

_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

  reply index

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06  9:37 Luke Kenneth Casson Leighton
2020-05-06 13:31 ` Tobias Platen
2020-05-06 14:58   ` Luke Kenneth Casson Leighton
2020-05-06 13:59 ` Yehowshua
2020-05-06 14:55   ` Luke Kenneth Casson Leighton
2020-05-06 16:23 ` Michael Nolan
2020-05-06 16:30   ` Luke Kenneth Casson Leighton
2020-05-06 16:33     ` Luke Kenneth Casson Leighton [this message]
2020-05-07  5:52 ` Jacob Lifshay
2020-05-07 10:17   ` Luke Kenneth Casson Leighton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPweEDxfzQKeSWh9RLffvW7HL99dysOHz0Go-+9+JQfYOGdmqA@mail.gmail.com \
    --to=lkcl@lkcl.net \
    --cc=libre-riscv-dev@lists.libre-riscv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git