ibmruntimes / v8ppc

Port of Google V8 javascript engine to PowerPC®
Other
94 stars 19 forks source link

Refactoring and improvement of GenerateInt32Stub and related FloatingPointer Helpers #59

Open pengwuibm opened 11 years ago

pengwuibm commented 11 years ago

Use this issue to track all code refactoring and improvement for GenerateInt32Stub and related floating point helpers. Observed inefficiency include:

pengwuibm commented 11 years ago

Simplify the interface for ConvertIntToDouble: 2a7db58fcd42a8f3286bc8100829a85181891b8c

pengwuibm commented 11 years ago

Removed ConvertDoubleToInt and ConvertDoubleToUnsignedInt to use EmitECMATruncate instead 746de9d75999f008d30e1a293c1fdfc228a00272, which handles corner cases correctly and use more efficient pwr5 instruction sequence for double to int conversion