FAQ

On 2013/05/15 15:22:02, ality wrote:
On 2013/05/15 14:59:55, remyoudompheng wrote:
What do you mean by signed multiplication? It would only make sense
for the long one.
OLMUL is for multiplying unsigned types, right? tcom checks typeu and
changes OMUL to OLMUL if needed. Basically, I'm asking if you should
do gopcode(o, ...) instead of gopcode(OMUL, ...) after incrementing
reg[D_DX].
OLMUL is mapped to MUL and OMUL is mapped to IMUL. MUL doesn't have a
short form (since ordinary multiplication is independent of signedness).

https://codereview.appspot.com/9040043/

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Dave Cheney at May 18, 2013 at 8:21 am

    OLMUL is mapped to MUL and OMUL is mapped to IMUL
    That is not confusing in the slightest.
    On Sat, May 18, 2013 at 6:19 PM, wrote:
    On 2013/05/15 15:22:02, ality wrote:
    On 2013/05/15 14:59:55, remyoudompheng wrote:
    What do you mean by signed multiplication? It would only make sense
    for the long one.
    OLMUL is for multiplying unsigned types, right? tcom checks typeu and
    changes OMUL to OLMUL if needed. Basically, I'm asking if you should
    do gopcode(o, ...) instead of gopcode(OMUL, ...) after incrementing
    reg[D_DX].

    OLMUL is mapped to MUL and OMUL is mapped to IMUL. MUL doesn't have a
    short form (since ordinary multiplication is independent of signedness).

    https://codereview.appspot.com/9040043/
    --

    ---
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedMay 18, '13 at 8:19a
activeMay 18, '13 at 8:21a
posts2
users2
websitegolang.org

2 users in discussion

Dave Cheney: 1 post Remyoudompheng: 1 post

People

Translate

site design / logo © 2021 Grokbase