From: Tkhai Kirill <tkhai@xxxxxxxxx> Date: Tue, 10 May 2011 16:31:41 +0400 > /* Also, handle the alignment code out of band. */ > cc_dword_align: > - cmp %g1, 6 > - bl,a ccte > + cmp %g1, 16 > + bge 1f > + srl %g1, 1, %o3 > +2: cmp %o3, 0 > + be,a ccte > andcc %g1, 0xf, %o3 > - andcc %o0, 0x1, %g0 > + andcc %o3, %o0, %g0 ! Check %o0 only (%o1 has the same last 2 bits) > + be,a 2b > + srl %o3, 1, %o3 > +1: andcc %o0, 0x1, %g0 I don't understand why you're testing "andcc %o3, %o0, %g0", as %o3 has the value computed in "srl %g1, 1, %o3" here. What is so interesting about "ptr & (length >> 1)"? -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html