Carol Eidt

Results comments of Carol Eidt

It seems reasonable to modify the spec to allow these cases to be supported. It would be great if someone (@davkean?) could propose a specific change, presumably to II.23.2.12 &...

@gafter I believe that what you are requesting is already supported. Rounding a result to a given precision is the same as performing the computation in that precision (unless you...

@gafter The spec doesn't allow the JIT to elide the cast of the input values to floats. Those are operations that it cannot omit. It CAN choose to perform the...

@mburbea On x86 (32 bit), the CRT (and by extension the CLR) sets the precision to double. It is possible to change this by calling out to native code, but...

@mikedn the x86 port of RyuJIT will be using SSE. However, for this issue, unless a program explicitly changes the evaluation mode the evaluation will be in double anyway. I...

@mburbea I don' t know the answer to that.They simply invoke the CRT functions.

@benaadams - thanks for creating this issue; although the JIT is not very aggressive with loop opts the register allocator doesn't always deal well with complex control flow, and changing...

As @benaadams points out, we can improve this for Vector by passing them directly in the SIMD registers (#2959). However, for types that may be used as interop types (Vector2,...

I would think that we would want to treat scalar return values (including `bool` as well as scalar `float`) equivalently to the scalar parameters - i.e. leave them as is,...

Ah, I forgot that wrinkle. That is unfortunate, but I agree that it would be a bad idea to have just one or two methods that modify their ref parameter,...