Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b615369336441fa170d2bcfc0962d18a030ee6d2 https://github.com/WebKit/WebKit/commit/b615369336441fa170d2bcfc0962d18a030ee6d2 Author: Yusuke Suzuki <ysuz...@apple.com> Date: 2023-06-09 (Fri, 09 Jun 2023)
Changed paths: M Source/JavaScriptCore/b3/B3ReduceStrength.cpp M Source/JavaScriptCore/b3/testb3.h M Source/JavaScriptCore/b3/testb3_1.cpp M Source/JavaScriptCore/b3/testb3_4.cpp Log Message: ----------- [JSC] ConstFloat / ConstDouble Store should be converted to Const32 / Const64 Store in B3 https://bugs.webkit.org/show_bug.cgi?id=257882 rdar://110509786 Reviewed by Keith Miller. Materializing Const32 / Const64 in GPR is cheaper. So let's convert Store(ConstDoubleValue, address) / Store(ConstFloatValue, address) to Store(Const64Value, address) / Store(ConstFloatValue, address). If the constant value is zero, then ARM64 can further use zero register for that. * Source/JavaScriptCore/b3/B3ReduceStrength.cpp: * Source/JavaScriptCore/b3/testb3.h: * Source/JavaScriptCore/b3/testb3_1.cpp: (run): * Source/JavaScriptCore/b3/testb3_4.cpp: (testStoreDouble): (testStoreDoubleConstant): (testStoreFloatConstant): Canonical link: https://commits.webkit.org/265026@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes