9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] Weird >>= operator behaviour in 5c/5l
Date: Sun, 17 Jan 2021 21:20:38 -0800	[thread overview]
Message-ID: <756C95B55C2DABF6755FCB63F332F045@eigenstate.org> (raw)
In-Reply-To: <9fef5273-8e1c-4d3e-9c62-790ae227103d@pixelhero.dev>

Quoth Noam Preil <noam@pixelhero.dev>:
> It could just be architecture specific behavior.
> 

It's a bug. Two, actually.

1) a shift of zero should be optimized out by
   the compiler; cinap has a change for this in
   the works already. This fix should hide the
   second bug.

2) a shift by a literal zero is miscompiled by
   the assembler into a shift by 32, because
   of a missed special case in the instruction.
   encoding. I'm working on fixing the assembler.

  reply	other threads:[~2021-01-18  5:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17 21:36 Jonas Amoson
2021-01-18  4:05 ` Noam Preil
2021-01-18  5:20   ` ori [this message]
2021-01-18 16:11     ` Jonas Amoson
2021-01-20  5:59       ` ori
2021-01-20  6:12         ` ori
2021-01-20 12:06           ` Jonas Amoson
2021-01-20 22:11           ` Anthony Martin
2021-01-20 23:39             ` ori

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=756C95B55C2DABF6755FCB63F332F045@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).