From 5b4f3384905374596f49592e27cb1d278d839491 Mon Sep 17 00:00:00 2001 From: Prathamesh Kulkarni Date: Sun, 25 Jan 2015 14:26:59 +0000 Subject: [PATCH] emit-rtl.h (store_bit_field): Move prototype to expmed.h. 2015-01-25 Prathamesh Kulkarni * emit-rtl.h (store_bit_field): Move prototype to expmed.h. (extract_bit_field): Likewise. (extract_low_bits): Likewise. (expand_mult): Likewise. (expand_mult_highpart_adjust): Likewise. From-SVN: r220092 --- gcc/ChangeLog | 8 ++++++++ gcc/emit-rtl.h | 13 ------------- gcc/expmed.h | 12 ++++++++++++ 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47d6ac598b0..fe3a6eab7d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2015-01-25 Prathamesh Kulkarni + + * emit-rtl.h (store_bit_field): Move prototype to expmed.h. + (extract_bit_field): Likewise. + (extract_low_bits): Likewise. + (expand_mult): Likewise. + (expand_mult_highpart_adjust): Likewise. + 2015-01-24 H.J. Lu * config/i386/driver-i386.c (host_detect_local_cpu): Check new diff --git a/gcc/emit-rtl.h b/gcc/emit-rtl.h index 44ef034230f..3abe58ec7b0 100644 --- a/gcc/emit-rtl.h +++ b/gcc/emit-rtl.h @@ -189,17 +189,4 @@ extern int get_mem_align_offset (rtx, unsigned int); MODE and adjusted by OFFSET. */ extern rtx widen_memory_access (rtx, machine_mode, HOST_WIDE_INT); -extern void store_bit_field (rtx, unsigned HOST_WIDE_INT, - unsigned HOST_WIDE_INT, - unsigned HOST_WIDE_INT, - unsigned HOST_WIDE_INT, - machine_mode, rtx); -extern rtx extract_bit_field (rtx, unsigned HOST_WIDE_INT, - unsigned HOST_WIDE_INT, int, rtx, - machine_mode, machine_mode); -extern rtx extract_low_bits (machine_mode, machine_mode, rtx); -extern rtx expand_mult (machine_mode, rtx, rtx, rtx, int); -extern rtx expand_mult_highpart_adjust (machine_mode, rtx, rtx, rtx, rtx, int); - - #endif /* GCC_EMIT_RTL_H */ diff --git a/gcc/expmed.h b/gcc/expmed.h index e36e4f76cf6..1378192703b 100644 --- a/gcc/expmed.h +++ b/gcc/expmed.h @@ -703,4 +703,16 @@ extern rtx expand_divmod (int, enum tree_code, machine_mode, rtx, rtx, rtx, int); #endif +extern void store_bit_field (rtx, unsigned HOST_WIDE_INT, + unsigned HOST_WIDE_INT, + unsigned HOST_WIDE_INT, + unsigned HOST_WIDE_INT, + machine_mode, rtx); +extern rtx extract_bit_field (rtx, unsigned HOST_WIDE_INT, + unsigned HOST_WIDE_INT, int, rtx, + machine_mode, machine_mode); +extern rtx extract_low_bits (machine_mode, machine_mode, rtx); +extern rtx expand_mult (machine_mode, rtx, rtx, rtx, int); +extern rtx expand_mult_highpart_adjust (machine_mode, rtx, rtx, rtx, rtx, int); + #endif // EXPMED_H -- 2.30.2