-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-8488
-
-
-
default
The CLA has hardware instructions that cast between float and short types. Because such hardware instructions are uncommon, the compiler was using a generic transformation inserting an integer cast in between the float to short cast. This was preventing matching the correct cast instruction. Furthermore, in the case of the submitted test case, the instruction sequence generated was incorrect and resulted in an incorrect value.