From b0aff179086a17e396a421d6e9942239e254709b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 25 Sep 2007 15:44:40 -0700 Subject: test/movimm.asm: add optimizable forms Add optimizable forms that probably should be shrunk by the optimizer. --- test/movimm.asm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test') diff --git a/test/movimm.asm b/test/movimm.asm index bda7a60..b5a7a27 100644 --- a/test/movimm.asm +++ b/test/movimm.asm @@ -11,3 +11,16 @@ ; mov qword [rsi],qword 1234567890abcdefh ; Error ; mov [rsi],qword 1234567890abcdefh ; Error mov [rsi],dword 1234567890abcdefh + + ; The optimizer probably should compact these forms, doesn't yet? + mov rax,12345678h + mov eax,12345678h + mov rax,dword 12345678h + mov rax,qword 12345678h + mov dword [rsi],12345678h + mov qword [rsi],12345678h + mov dword [rsi],dword 12345678h + mov qword [rsi],dword 12345678h +; mov qword [rsi],qword 12345678h ; Error +; mov [rsi],qword 12345678h ; Error + mov [rsi],dword 12345678h -- cgit v1.2.3