https://bugs.kde.org/show_bug.cgi?id=370028

Aleksandar Rikalo <aleksandar.rik...@imgtec.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aleksandar.rik...@imgtec.co
                   |                            |m

--- Comment #27 from Aleksandar Rikalo <aleksandar.rik...@imgtec.com> ---
Created attachment 105392
  --> https://bugs.kde.org/attachment.cgi?id=105392&action=edit
m_libcbase_warnings.diff: Suppress warnings from coregrind/m_libcbase.c

(In reply to Ivo Raisr from comment #26)
> Aleksandar, do you have another patch ready?

Hi Ivo,

Acctualy, I have.

m_libcbase_warnings.diff: Suppress warnings from coregrind/m_libcbase.c.

Function VG_(memset)() - after "while ((!VG_IS_4_ALIGNED(d)))" pointer d is
4-byte aligned, so it is safe to use ASSUME_ALIGNED for UInt* casting.

QSORT - According to swaptype variable initialization (m_libcbase.c:817),
condition (swaptype <= 1) implies "elements are Word-aligned", so we can use
ASSUME_ALIGNED in parts under the above condition ( in BM_SWAP(), BM_PVINIT()
and bm_swapfunc() ).

This is tested on mips32/64-linux and amd64-linux.


Aleksandar

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to