From b3f3b4b0308163d60eaff8ba2727997149fd1d2a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 3 Dec 2013 19:17:03 -0500 Subject: opcodes: blackfin: simplify decode_CC2stat_0 logic These multiple if statements can be condensed down into a single if statement and an array of strings. Signed-off-by: Mike Frysinger --- opcodes/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'opcodes/ChangeLog') diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 5157099..4598078 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,11 @@ 2014-08-14 Mike Frysinger + * bfin-dis.c (OUT): Define. + (decode_CC2stat_0): Declare new op_names array. + Replace multiple if statements with a single one. + +2014-08-14 Mike Frysinger + * bfin-dis.c (struct private): Add iw0. (_print_insn_bfin): Assign iw0 to priv.iw0. (print_insn_bfin): Drop ifetch and use priv.iw0. -- cgit v1.1