diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-04-21 10:21:06 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-04-21 10:21:06 +0200 |
commit | 426881cde464691b61c5c49cf5038d21aace75fe (patch) | |
tree | 0817d5fe4d5d51abd793e471f73f0ad9de3f2228 /common/PrintAST.ml | |
parent | 1b5db339bb05f773a6a132be4c0b8cea54d50461 (diff) | |
download | compcert-426881cde464691b61c5c49cf5038d21aace75fe.tar.gz compcert-426881cde464691b61c5c49cf5038d21aace75fe.zip |
Support for GCC-style extended asm, continued:
- support "r", "m" and "i" constraints
- support "%Q" and "%R" modifiers for register pairs
- support register clobbers
- split off analysis and transformation of asm statements in
cparser/ExtendedAsm.ml
Diffstat (limited to 'common/PrintAST.ml')
-rw-r--r-- | common/PrintAST.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/PrintAST.ml b/common/PrintAST.ml index 387bf261..76305d02 100644 --- a/common/PrintAST.ml +++ b/common/PrintAST.ml @@ -53,7 +53,7 @@ let name_of_external = function sprintf "memcpy size %s align %s " (Z.to_string sz) (Z.to_string al) | EF_annot(text, targs) -> sprintf "annot %S" (extern_atom text) | EF_annot_val(text, targ) -> sprintf "annot_val %S" (extern_atom text) - | EF_inline_asm(text, sg) -> sprintf "inline_asm %S" (extern_atom text) + | EF_inline_asm(text, sg, clob) -> sprintf "inline_asm %S" (extern_atom text) let rec print_annot_arg px oc = function | AA_base x -> px oc x |