* expmed.c (mode_for_extraction): New function.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Aug 2001 00:33:33 +0000 (00:33 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Aug 2001 00:33:33 +0000 (00:33 +0000)
commit9068af20f17bc257569a26a39a00fe4ef11066fa
tree129eec34d330cb3fc70326b18b8ff46f6e80e5e2
parent4087823d086e903795ecaff665e6ff3afb58c3dd
* expmed.c (mode_for_extraction): New function.
(store_bit_field, extract_bit_field): Use it.
* expr.h: Prototype it and provide an enum for its first argument.

* combine.c, function.c, recog.c: Don't include insn-codes.h.
Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
and digging through the insn_data tables.
* Makefile.in: Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45086 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/combine.c
gcc/expmed.c
gcc/expr.h
gcc/function.c
gcc/recog.c