This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] aarch64: thunderx2 memcpy branches reordering


Adhemaral,

The reason I did the rewriting is two-fold. First, it
looks more clean as there aren't now two branches
immediately following each other. Second, it can be
performance beneficial as we are saving one branch
on entry for the most of the cases (we take it only if
the first iteration is a partial iteration). But, of course,
the performance benefit was not my concern here.
However, this is one instruction less anyway.


On 3/20/2019 19:29, Anton Youdkevitch wrote:
Rewrote the branches in load and merge chunk
so that the order is more in line with the
most probable case.

ChangeLog:
	* sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
	branches reordering



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]