summaryrefslogtreecommitdiff
path: root/ia32/CBuiltins.ml
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-10-16 07:37:28 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-10-16 07:37:28 +0000
commit7e378c0215c99d7f8bd38341081ec04fd202fd0a (patch)
tree1a17a6568e1c421c2543d3576c97f9296ca15179 /ia32/CBuiltins.ml
parente8bd77565422ab8e6d2fdd4ec7d5e7e4916ff2bd (diff)
Revised emulation of packed structs
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1729 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'ia32/CBuiltins.ml')
-rw-r--r--ia32/CBuiltins.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/ia32/CBuiltins.ml b/ia32/CBuiltins.ml
index 3b94744..c2fd06d 100644
--- a/ia32/CBuiltins.ml
+++ b/ia32/CBuiltins.ml
@@ -32,13 +32,13 @@ let builtins = {
"__builtin_fmin",
(TFloat(FDouble, []), [TFloat(FDouble, []); TFloat(FDouble, [])], false);
(* Memory accesses *)
- "__builtin_read_int16_reversed",
+ "__builtin_read16_reversed",
(TInt(IUShort, []), [TPtr(TInt(IUShort, [AConst]), [])], false);
- "__builtin_read_int32_reversed",
+ "__builtin_read32_reversed",
(TInt(IUInt, []), [TPtr(TInt(IUInt, [AConst]), [])], false);
- "__builtin_write_int16_reversed",
+ "__builtin_write16_reversed",
(TVoid [], [TPtr(TInt(IUShort, []), []); TInt(IUShort, [])], false);
- "__builtin_write_int32_reversed",
+ "__builtin_write32_reversed",
(TVoid [], [TPtr(TInt(IUInt, []), []); TInt(IUInt, [])], false);
]
}