Re: [webkit-dev] jit, unordered compare

2009-10-12 Thread Geoffrey Garen
unfortunately cmf was used by the old fpa (floating point accelerator), which is replaced by vfp (vector floating point) for some time. Perhaps I can try a "cmpvs reg0, reg0" instruction, which sets zero flag if one argument is NaN (since reg0 is always equal to reg0). Otherwise it does not

Re: [webkit-dev] propose an API to return Range in etc. form control nodes (similar functionality as document.caretRangeFromPoint)

2009-10-12 Thread Maciej Stachowiak
On Oct 12, 2009, at 9:37 AM, Xiaomei Ji wrote: For a use case that pinpoint a word from a page, the context information needed besides word might be the language that the word is in. And yes, as you said, if the hit node is needed, elementFromPoint should do. Hit testing isn't cheap -

Re: [webkit-dev] propose an API to return Range in etc. form control nodes (similar functionality as document.caretRangeFromPoint)

2009-10-12 Thread Maciej Stachowiak
On Oct 12, 2009, at 1:08 AM, Anne van Kesteren wrote: On Fri, 09 Oct 2009 19:04:52 +0200, Xiaomei Ji wrote: Maybe I should propose Document.wordFromPoint() which directly returns the word under the mouse (and handles both the DOM node and non-DOM form control nodes). It hides the inform

Re: [webkit-dev] Partial SVG repaint

2009-10-12 Thread Eric Seidel
Set a breakpoint in: void ChromeClientQt::repaint(const IntRect& windowRect, bool contentChanged, bool, bool) And see if you're getting the correct rects in and out. -eric On Thu, Oct 8, 2009 at 4:47 PM, Patrick Roland Gansterer wrote: >> SVG was designed to support this, it's just not been tur

Re: [webkit-dev] jit, unordered compare

2009-10-12 Thread Zoltan Herczeg
Hi, unfortunately cmf was used by the old fpa (floating point accelerator), which is replaced by vfp (vector floating point) for some time. Perhaps I can try a "cmpvs reg0, reg0" instruction, which sets zero flag if one argument is NaN (since reg0 is always equal to reg0). Otherwise it does nothin

Re: [webkit-dev] jit, unordered compare

2009-10-12 Thread Geoffrey Garen
Hi Zoltan. I believe you're talking about this code for op_jfalse: zeroDouble(fpRegT0); emitLoadDouble(cond, fpRegT1); addJump(branchDouble(DoubleEqual, fpRegT0, fpRegT1), target); and this code for op_jtrue: zeroDouble(fpRegT0); emitLoadDouble(cond,

Re: [webkit-dev] propose an API to return Range in etc. form control nodes (similar functionality as document.caretRangeFromPoint)

2009-10-12 Thread Xiaomei Ji
For a use case that pinpoint a word from a page, the context information needed besides word might be the language that the word is in.And yes, as you said, if the hit node is needed, elementFromPoint should do. Thanks, Xiaomei On Mon, Oct 12, 2009 at 1:08 AM, Anne van Kesteren wrote: > On Fri

[webkit-dev] jit, unordered compare

2009-10-12 Thread Zoltan Herczeg
Hi, My stougle with USE_JSVALUE32_64 still continues on ARM. In emit_op_jfalse, there is a comparison here (fpRegT0 contains 0.0): addJump(branchDouble(DoubleEqual, fpRegT0, fpRegT1), target + 2); In x86, if either operand is NaN, the zero flag is set by definition (ucomisd instruction). I have