haikuwebkit/Source/JavaScriptCore/yarr
Yusuke Suzuki 25b16cc11b [JSC] Remove unnecessary moves in Yarr's sub32 / add32 related code
https://bugs.webkit.org/show_bug.cgi?id=228813

Reviewed by Mark Lam.

This patch adds three operand sub32 to X64 masm so that we can use it in all masms.
We use add32 and sub32 in YarrJIT to remove unnecessary mov instructions in ARM64.

* assembler/MacroAssembler.h:
(JSC::MacroAssembler::sub32):
* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::sub32):
* assembler/MacroAssemblerX86Common.h:
(JSC::MacroAssemblerX86Common::sub32):
* assembler/testmasm.cpp:
(JSC::testSub32ArgImm):
* yarr/YarrJIT.cpp:


Canonical link: https://commits.webkit.org/240743@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-20 18:09:48 +00:00
..
RegularExpression.cpp
RegularExpression.h
Yarr.h [JSC] Change most of enum in Yarr to enum-class 2021-07-24 20:11:12 +00:00
YarrCanonicalize.h
YarrCanonicalizeUCS2.cpp [JSC] Clean up Yarr by using `static constexpr` 2021-07-31 20:43:43 +00:00
YarrCanonicalizeUCS2.js [JSC] Clean up Yarr by using `static constexpr` 2021-07-31 20:43:43 +00:00
YarrDisassembler.cpp
YarrDisassembler.h
YarrErrorCode.cpp [JSC] Clean up Yarr by using `static constexpr` 2021-07-31 20:43:43 +00:00
YarrErrorCode.h
YarrFlags.cpp [JSC] Clean up RegExp flag code 2021-07-08 04:48:27 +00:00
YarrFlags.h Use JSC::Yarr::flagsString to get string representation of RegExp flags 2021-07-08 17:27:49 +00:00
YarrInterpreter.cpp [JSC] Change most of enum in Yarr to enum-class 2021-07-24 20:11:12 +00:00
YarrInterpreter.h [JSC] Change most of enum in Yarr to enum-class 2021-07-24 20:11:12 +00:00
YarrJIT.cpp [JSC] Remove unnecessary moves in Yarr's sub32 / add32 related code 2021-08-20 18:09:48 +00:00
YarrJIT.h Unreviewed, build fix on Debug build 2021-08-07 00:26:26 +00:00
YarrMatchingContextHolder.h [JSC] SamplingProfiler should recognize RegExp execution 2021-07-16 04:10:49 +00:00
YarrParser.h [JSC] Change most of enum in Yarr to enum-class 2021-07-24 20:11:12 +00:00
YarrPattern.cpp [JSC] Change most of enum in Yarr to enum-class 2021-07-24 20:11:12 +00:00
YarrPattern.h [JSC] Change most of enum in Yarr to enum-class 2021-07-24 20:11:12 +00:00
YarrSyntaxChecker.cpp Next step toward using std::optional directly instead of through WTF::Optional typedef 2021-05-28 01:26:23 +00:00
YarrSyntaxChecker.h
YarrUnicodeProperties.cpp Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
YarrUnicodeProperties.h Non-unified build fixes, early May 2021 edition 2021-06-10 08:36:18 +00:00
create_regex_tables
generateYarrCanonicalizeUnicode
generateYarrUnicodePropertyTables.py
hasher.py