From 6c174fc0e6e8e1b32cd9a3fd3950fe28f609de1c Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 1 Jan 1998 20:48:04 -0800 Subject: c-decl.c (init_decl_processing): Provide proper fallback symbol for __builtin_memset. * c-decl.c (init_decl_processing): Provide proper fallback symbol for __builtin_memset. * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE not INTEGER_CST. Assert arg 3 is a constant. * alpha.c (mode_width_operand): Accept 64-bit modes. (mode_mask_operand): Likewise. (print_operand): Likewise for 'M' and 'U' codes. (alpha_expand_unaligned_load): New function. (alpha_expand_unaligned_store): Likewise. (alpha_expand_unaligned_load_words): Likewise. (alpha_expand_unaligned_store_words): Likewise. (alpha_expand_block_move): Likewise. (alpha_expand_block_clear): Likewise. * alpha.h (MOVE_RATIO): New define. * alpha.md (extxl, ext*h, ins*l, mskxl): Name them. (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New. * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3. (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable. From-SVN: r17278 --- gcc/c-decl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gcc/c-decl.c') diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0bc292a..d7f5737 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -3353,7 +3353,7 @@ init_decl_processing () builtin_function ("__builtin_memcmp", int_ftype_cptr_cptr_sizet, BUILT_IN_MEMCMP, "memcmp"); builtin_function ("__builtin_memset", memset_ftype, - BUILT_IN_MEMSET, NULL_PTR); + BUILT_IN_MEMSET, "memset"); builtin_function ("__builtin_strcmp", int_ftype_string_string, BUILT_IN_STRCMP, "strcmp"); builtin_function ("__builtin_strcpy", string_ftype_ptr_ptr, @@ -3450,8 +3450,6 @@ init_decl_processing () BUILT_IN_FMOD, NULL_PTR); builtin_function ("__builtin_frem", double_ftype_double_double, BUILT_IN_FREM, NULL_PTR); - builtin_function ("__builtin_memset", ptr_ftype_ptr_int_int, - BUILT_IN_MEMSET, NULL_PTR); builtin_function ("__builtin_getexp", double_ftype_double, BUILT_IN_GETEXP, NULL_PTR); builtin_function ("__builtin_getman", double_ftype_double, BUILT_IN_GETMAN, -- cgit v1.1