Search found 9 matches

by damianmoz
2023-11-28, 23:39:09
Forum: forwardcom forum
Topic: Dot Product
Replies: 5
Views: 23477

Re: Dot Product

Is this an instruction (or a variant of it) that we need to suggest go into IEEE 754-2019.

I still think it needs to produce a tuple (y, dy) such that
... y + dy = +/-a0*b0 +/- a1*b1
for maximum generality to satisfy as many people within the discussion.

My 2c.
by damianmoz
2023-11-28, 12:28:37
Forum: forwardcom forum
Topic: Dot Product
Replies: 5
Views: 23477

Re: Dot Product

Given two complex numbers:
... a0 + i a1
... b0 + i b1
then the real part of the complex multiplication is a component of the cross product:
... a0 * b0 - a1 * b1

So it appears to me that your proposed instruction already covers the basics of a cross product.
by damianmoz
2023-11-26, 9:33:55
Forum: forwardcom forum
Topic: Rounding Mode
Replies: 2
Views: 13943

Re: Rounding Mode

Thanks for the update on augmented addition. I like your approach. I find the IEEE 754 approach of mandating "round to nearest ties towards zero" is overly prescriptive although I understand and sympathize why they chose that if they had to run with a single rounding mode. There are 3 miss...
by damianmoz
2023-11-26, 9:18:26
Forum: forwardcom forum
Topic: Underflow/Overflow in mul_2pow
Replies: 2
Views: 13839

Re: Underflow/Overflow in mul_2pow

Understand the reasoning for speed. If I am ever lucky enough to have hardware based on this instruction set, I will just have to be careful to protect myself if I want to avoid flushing to zero. I was curious if you could use a template with an option to enable/disable such flushing to zero. And ye...
by damianmoz
2023-11-26, 8:31:41
Forum: forwardcom forum
Topic: Dot Product
Replies: 5
Views: 23477

Re: Dot Product

Thanks for the explanation about the real and imaginary parts. Silly me. I should have twigged to the context. I realize that using it in a cross product needs extra permutations. Will they be incorporated. I thought that exploiting this instruction in as many applications as possible would yield th...
by damianmoz
2023-11-26, 7:35:19
Forum: forwardcom forum
Topic: SQRT or RSQRT - that is the question
Replies: 1
Views: 13394

SQRT or RSQRT - that is the question

While sqrt is a basic IEEE 754 operation, I have always found rsqrt a more useful quantity (from which I can deduce sqrt anyway). Are there any plans for a rsqrt primitive or an approximation to it? Same question about reciprocal rather than a true division although there is potentially less justifi...
by damianmoz
2023-11-26, 2:38:41
Forum: forwardcom forum
Topic: Dot Product
Replies: 5
Views: 23477

Dot Product

Love this feature. In the description, you could also mention that the command, even as it stands, can be used to produce more accurate (components of a) cross product. But I do not understand what is meant by ...store the result in y0 or y1, where y0,y1 are elements of the result vector. The other ...
by damianmoz
2023-11-26, 2:08:53
Forum: forwardcom forum
Topic: Rounding Mode
Replies: 2
Views: 13943

Rounding Mode

I am assuming that a rounding mode of 000 in Table 3.3 used for both floating point arithmetic and in the round on Page 27 is more strictly defined as ... round to nearest with ties to even In the round instruction, will the following be supported into the future: ... round to nearest with ties to o...
by damianmoz
2023-11-26, 0:34:21
Forum: forwardcom forum
Topic: Underflow/Overflow in mul_2pow
Replies: 2
Views: 13839

Underflow/Overflow in mul_2pow

I found reading this description clunky. Overflow will produce infinity. The result will be zero rather than a subnormal number in case of underflow, regardless of control bits in the mask or numeric control register. Can I suggest changing the second sentence to match the structure of the first: Ov...