Implement DAA as well as DAS.  Byrial Jensen <byrial@image.dk>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@22 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_helpers.S b/vg_helpers.S
index f86f6f9..3431111 100644
--- a/vg_helpers.S
+++ b/vg_helpers.S
@@ -309,6 +309,16 @@
 	ret
 
 
+/* Similarly, do %al = DAA(%al). */
+.global VG_(helper_DAA)
+VG_(helper_DAA):
+       pushl   %eax
+       movl    8(%esp), %eax
+       daa
+       movl    %eax, 8(%esp)
+       popl    %eax
+       ret
+	
 
 /* Bit scan forwards/reverse.  Sets flags (??).
    On entry: