[LLVMdev] Use of movupd instead of movapd for x86

David A. Greene greened at obbligato.org
Fri Feb 25 08:12:48 PST 2011


Sebastien DELDON-GNB <sebastien.deldon at st.com> writes:

> Hi all,
>
> Is there a way to force llc to generate movupd instruction instead of movapd for x86 target ?
>
> I know that movapd is more performant, but I would like to measure degradation when alignment constraints are not met.

On modern processors a movupd on aligned data is going to be
indistinguishable in performance from a movapd.

                               -Dave



More information about the llvm-dev mailing list