From 87d84b7cb8b41a4ebf8dda39edc74acc1382d0e6 Mon Sep 17 00:00:00 2001 From: Joe Soroka Date: Tue, 1 Feb 2011 15:37:58 -0800 Subject: tccasm: allow one-line prefix+op things like "rep stosb" --- tests/asmtest.S | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'tests/asmtest.S') diff --git a/tests/asmtest.S b/tests/asmtest.S index 0d4c0fc..452815c 100644 --- a/tests/asmtest.S +++ b/tests/asmtest.S @@ -478,6 +478,24 @@ int $0x10 repz repne repnz + nop + + lock ;negl (%eax) + wait ;pushf + rep ;stosb + repe ;lodsb + repz ;cmpsb + repne;movsb + repnz;outsb + + /* handle one-line prefix + ops */ + lock negl (%eax) + wait pushf + rep stosb + repe lodsb + repz cmpsb + repne movsb + repnz outsb invd wbinvd -- cgit v1.3.1