Changeset 279441 in webkit
- Timestamp:
- Jun 30, 2021, 4:36:34 PM (4 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r279393 r279441 1 2021-06-30 Mark Lam <mark.lam@apple.com> 2 3 ARM64: Disable selection of BFI instruction variants by default. 4 https://bugs.webkit.org/show_bug.cgi?id=227554 5 rdar://79978150 6 7 Reviewed by Saam Barati. 8 9 We suspect that this may have caused some hangs. Disabling while we investigate. 10 11 * b3/B3LowerToAir.cpp: 12 * b3/testb3_2.cpp: 13 (testInsertBitField32): 14 (testInsertBitField64): 15 * runtime/OptionsList.h: 16 1 17 2021-06-29 Joonghun Park <jh718.park@samsung.com> 2 18 -
trunk/Source/JavaScriptCore/b3/B3LowerToAir.cpp
r279378 r279441 2765 2765 // Where: mask = (1 << width) - 1 2766 2766 auto tryAppendUBFX = [&] () -> bool { 2767 if (!Options::useBFI()) 2768 return false; 2767 2769 Air::Opcode opcode = opcodeForType(ExtractUnsignedBitfield32, ExtractUnsignedBitfield64, m_value->type()); 2768 2770 if (!isValidForm(opcode, Arg::Tmp, Arg::Imm, Arg::Imm, Arg::Tmp)) … … 2827 2829 // mask2 = ~(mask1 << lsb) 2828 2830 auto tryAppendBFI = [&] (Value* left, Value* right) -> bool { 2831 if (!Options::useBFI()) 2832 return false; 2829 2833 Air::Opcode opcode = opcodeForType(InsertBitField32, InsertBitField64, m_value->type()); 2830 2834 if (!isValidForm(opcode, Arg::Tmp, Arg::Imm, Arg::Imm, Arg::Tmp)) … … 3031 3035 // where: amount = datasize - width 3032 3036 auto tryAppendSBFIZ = [&] () -> bool { 3037 if (!Options::useBFI()) 3038 return false; 3033 3039 Air::Opcode opcode = opcodeForType(InsertSignedBitfieldInZero32, InsertSignedBitfieldInZero64, m_value->type()); 3034 3040 if (!isValidForm(opcode, Arg::Tmp, Arg::Imm, Arg::Imm, Arg::Tmp)) -
trunk/Source/JavaScriptCore/b3/testb3_2.cpp
r279378 r279441 3161 3161 void testInsertBitField32() 3162 3162 { 3163 if (!JSC::Options::useBFI()) 3164 return; 3163 3165 if (JSC::Options::defaultB3OptLevel() < 2) 3164 3166 return; … … 3239 3241 void testInsertBitField64() 3240 3242 { 3243 if (!JSC::Options::useBFI()) 3244 return; 3241 3245 if (JSC::Options::defaultB3OptLevel() < 2) 3242 3246 return; -
trunk/Source/JavaScriptCore/runtime/OptionsList.h
r279209 r279441 549 549 v(Bool, useDataIC, isARM64(), Normal, nullptr) \ 550 550 v(Bool, useDataICInOptimizingJIT, false, Normal, nullptr) \ 551 v(Bool, useBFI, false, Normal, "Allow ARM64 instruction selection of BFI") \ 551 552 552 553
Note:
See TracChangeset
for help on using the changeset viewer.