Summary: | Fix loadRGBA8AsFloat to work with older GCC as well | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gabor Rapcsanyi <rgabor> | ||||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED DUPLICATE | ||||||||
Severity: | Normal | CC: | dbates, yosin, zimmermann | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Gabor Rapcsanyi
2012-07-06 02:33:53 PDT
Created attachment 151067 [details]
proposed patch
Fix loadRGBA8AsFloat and set FECompositeArithmeticNEON.h to use NEONHelpers as well.
Created attachment 151075 [details]
patch2
The storeFloatAsRGBA8 in NEONHelpers.h different to what FEArithmeticNEON does so I leave that for now.
Comment on attachment 151075 [details]
patch2
r=me
Comment on attachment 151075 [details] patch2 View in context: https://bugs.webkit.org/attachment.cgi?id=151075&action=review > Source/WebCore/platform/graphics/filters/arm/NEONHelpers.h:40 > - uint32x2_t temporary1 = vset_lane_u32(*source, temporary1, 0); > + uint32x2_t temporary1 = vld1_u32(source); I think vld1_u32 reads a whole register, which can lead to buffer overflow. Bug fixed with: https://bugs.webkit.org/show_bug.cgi?id=92797 *** This bug has been marked as a duplicate of bug 92797 *** I extracted the change to use loadRGBA8AsFloat() into the patch for bug #128767. |