picochip.c: Removed profiling support.
* config/picochip/picochip.c: Removed profiling support. * config/picochip/picochip.md: Removed profiling instruction. * config/picochip/picochip.h: Removed profiling builtin. From-SVN: r144884
This commit is contained in:
parent
f38095f3ee
commit
83c191e155
4 changed files with 6 additions and 40 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-03-16 Hariharan Sandanagobalane <hariharan@picochip.com>
|
||||
|
||||
* config/picochip/picochip.c: Removed profiling support.
|
||||
* config/picochip/picochip.md: Removed profiling instruction.
|
||||
* config/picochip/picochip.h: Removed profiling builtin.
|
||||
|
||||
2009-03-16 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* doc/install.texi (--with-host-libstdcxx): Document.
|
||||
|
|
|
@ -3898,23 +3898,6 @@ picochip_generate_halt (void)
|
|||
return const0_rtx;
|
||||
}
|
||||
|
||||
static rtx
|
||||
picochip_generate_profile (tree arglist)
|
||||
{
|
||||
tree arg0 = TREE_VALUE (arglist);
|
||||
rtx op0 = expand_expr (arg0, NULL_RTX, VOIDmode, 0);
|
||||
|
||||
start_sequence();
|
||||
emit_insn (gen_profile (op0));
|
||||
|
||||
rtx insns = get_insns();
|
||||
end_sequence();
|
||||
emit_insn (insns);
|
||||
|
||||
return const0_rtx;
|
||||
}
|
||||
|
||||
|
||||
/* Initialise the builtin functions. Start by initialising
|
||||
descriptions of different types of functions (e.g., void fn(int),
|
||||
int fn(void)), and then use these to define the builtins. */
|
||||
|
@ -3995,14 +3978,6 @@ picochip_init_builtins (void)
|
|||
add_builtin_function ("picoSbc", int_ftype_int, PICOCHIP_BUILTIN_SBC,
|
||||
BUILT_IN_MD, NULL, NULL_TREE);
|
||||
|
||||
/* Initialise the bit reverse function. */
|
||||
add_builtin_function ("__builtin_profile", void_ftype_int,
|
||||
PICOCHIP_BUILTIN_PROFILE, BUILT_IN_MD, NULL,
|
||||
NULL_TREE);
|
||||
add_builtin_function ("picoProfile", void_ftype_int,
|
||||
PICOCHIP_BUILTIN_PROFILE, BUILT_IN_MD, NULL,
|
||||
NULL_TREE);
|
||||
|
||||
/* Initialise the bit reverse function. */
|
||||
add_builtin_function ("__builtin_brev", unsigned_ftype_unsigned,
|
||||
PICOCHIP_BUILTIN_BREV, BUILT_IN_MD, NULL,
|
||||
|
@ -4135,9 +4110,6 @@ picochip_expand_builtin (tree exp, rtx target, rtx subtarget ATTRIBUTE_UNUSED,
|
|||
case PICOCHIP_BUILTIN_HALT:
|
||||
return picochip_generate_halt ();
|
||||
|
||||
case PICOCHIP_BUILTIN_PROFILE:
|
||||
return picochip_generate_profile (arglist);
|
||||
|
||||
default:
|
||||
gcc_unreachable();
|
||||
|
||||
|
|
|
@ -736,7 +736,6 @@ enum picochip_builtins
|
|||
PICOCHIP_BUILTIN_PUT_ARRAY,
|
||||
PICOCHIP_BUILTIN_TESTPORT_ARRAY,
|
||||
PICOCHIP_BUILTIN_ASRI,
|
||||
PICOCHIP_BUILTIN_PROFILE,
|
||||
PICOCHIP_BUILTIN_HALT
|
||||
};
|
||||
|
||||
|
|
|
@ -111,9 +111,6 @@
|
|||
; Internal TSTPORT instruction, used to generate a single TSTPORT
|
||||
; instruction for use in the testport branch split.
|
||||
(UNSPEC_INTERNAL_TESTPORT 19)
|
||||
|
||||
; instruction for use in the profile based optimizations.
|
||||
(UNSPEC_INTERNAL_PROFILE 20)
|
||||
]
|
||||
)
|
||||
|
||||
|
@ -2228,14 +2225,6 @@
|
|||
[(set_attr "length" "1")
|
||||
(set_attr "type" "unknown")])
|
||||
|
||||
(define_insn "profile"
|
||||
[(unspec_volatile [(match_operand:HI 0 "const_int_operand" "i")]
|
||||
UNSPEC_INTERNAL_PROFILE)]
|
||||
""
|
||||
"PROFILE_DUMMY %0 \t// (profile instruction %0)"
|
||||
[(set_attr "length" "1")
|
||||
(set_attr "type" "unknown")])
|
||||
|
||||
(define_insn "internal_testport"
|
||||
[(set (reg:CC CC_REGNUM)
|
||||
(unspec_volatile:CC [(match_operand:HI 0 "const_int_operand" "i")]
|
||||
|
|
Loading…
Add table
Reference in a new issue