mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Int type for PIC16 is i16. Added i16 intrinsics for memmove, memcpy and memset.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
16062ca93a
commit
021f3f252e
@ -190,18 +190,27 @@ def int_stackprotector : Intrinsic<[llvm_void_ty],
|
||||
//
|
||||
|
||||
let Properties = [IntrWriteArgMem] in {
|
||||
def int_memcpy_i16 : Intrinsic<[llvm_void_ty],
|
||||
[llvm_ptr_ty, llvm_ptr_ty,
|
||||
llvm_i16_ty, llvm_i16_ty]>;
|
||||
def int_memcpy_i32 : Intrinsic<[llvm_void_ty],
|
||||
[llvm_ptr_ty, llvm_ptr_ty,
|
||||
llvm_i32_ty, llvm_i32_ty]>;
|
||||
def int_memcpy_i64 : Intrinsic<[llvm_void_ty],
|
||||
[llvm_ptr_ty, llvm_ptr_ty,
|
||||
llvm_i64_ty, llvm_i32_ty]>;
|
||||
def int_memmove_i16 : Intrinsic<[llvm_void_ty],
|
||||
[llvm_ptr_ty, llvm_ptr_ty,
|
||||
llvm_i16_ty, llvm_i16_ty]>;
|
||||
def int_memmove_i32 : Intrinsic<[llvm_void_ty],
|
||||
[llvm_ptr_ty, llvm_ptr_ty,
|
||||
llvm_i32_ty, llvm_i32_ty]>;
|
||||
def int_memmove_i64 : Intrinsic<[llvm_void_ty],
|
||||
[llvm_ptr_ty, llvm_ptr_ty,
|
||||
llvm_i64_ty, llvm_i32_ty]>;
|
||||
def int_memset_i16 : Intrinsic<[llvm_void_ty],
|
||||
[llvm_ptr_ty, llvm_i8_ty,
|
||||
llvm_i16_ty, llvm_i16_ty]>;
|
||||
def int_memset_i32 : Intrinsic<[llvm_void_ty],
|
||||
[llvm_ptr_ty, llvm_i8_ty,
|
||||
llvm_i32_ty, llvm_i32_ty]>;
|
||||
|
Loading…
Reference in New Issue
Block a user