This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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][v3] GIMPLE store merging pass




On 09/07/2016 10:19 AM, Richard Biener wrote:
On Tue, 6 Sep 2016, Jakub Jelinek wrote:

If you want a 64-bit store, you'd need to merge the two, and that would be
even more expensive.  It is a matter of say:
	movl $0x12345678, (%rsp)
	movl $0x09abcdef, 4(%rsp)
vs.
	movabsq $0x09abcdef12345678, %rax
	movq %rax, (%rsp)
vs.
	movl $0x09abcdef, %eax
	salq $32, %rax
	orq $0x12345678, %rax
	movq $rax, (%rsp)

vs.

        movq $LC0, (%rsp)

?

Not the same. That moves the address of $LC0.


Bernd


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