WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
152833
ARMv7 or32(TrustedImm32, AbsoluteAddress) may have a bug with its use of dataTempRegister.
https://bugs.webkit.org/show_bug.cgi?id=152833
Summary
ARMv7 or32(TrustedImm32, AbsoluteAddress) may have a bug with its use of data...
Mark Lam
Reported
2016-01-07 09:12:01 PST
Details in the coming patch.
Attachments
proposed fix.
(5.02 KB, patch)
2016-01-07 09:34 PST
,
Mark Lam
msaboff
: review-
Details
Formatted Diff
Diff
follow up fix for ARM64.
(1.89 KB, patch)
2016-01-07 12:17 PST
,
Mark Lam
msaboff
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2016-01-07 09:34:53 PST
Created
attachment 268457
[details]
proposed fix.
Mark Lam
Comment 2
2016-01-07 11:25:25 PST
Comment on
attachment 268457
[details]
proposed fix. This patch has passed the JSC tests on ARM64 and ARMv7. It's ready for a review.
Mark Lam
Comment 3
2016-01-07 11:43:41 PST
Thanks for the review. Landed in
r194707
: <
http://trac.webkit.org/r194707
>.
Michael Saboff
Comment 4
2016-01-07 11:52:29 PST
Comment on
attachment 268457
[details]
proposed fix. View in context:
https://bugs.webkit.org/attachment.cgi?id=268457&action=review
r-
> Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:548 > + or32(imm, memoryTempRegister, memoryTempRegister); > + store32(memoryTempRegister, address.m_ptr);
You can't store32 with a source of memoryTempRegister as it will be needed to materialize the address. You could change this to: or32(imm, memoryTempRegister, getCachedDataTempRegisterIDAndInvalidate()); store32(dataTempRegister, address.m_ptr); Also, please add an ASSERT() to template<int datasize> store() that the src register cannot be memoryTempRegister.
Mark Lam
Comment 5
2016-01-07 12:17:33 PST
Created
attachment 268473
[details]
follow up fix for ARM64.
Michael Saboff
Comment 6
2016-01-07 12:19:03 PST
Comment on
attachment 268473
[details]
follow up fix for ARM64. r=me
Mark Lam
Comment 7
2016-01-07 12:22:24 PST
Thanks for the review. Follow up fix landed in
r194711
: <
http://trac.webkit.org/r194711
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug