qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] target/hexagon: Minor idef-parser cleanup
@ 2024-05-06 18:31 Anton Johansson via
  2024-05-06 18:31 ` [PATCH 1/4] target/hexagon: idef-parser remove unused defines Anton Johansson via
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Anton Johansson via @ 2024-05-06 18:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: ale, ltaylorsimpson, bcain

Was running idef-parser with valgrind and noticed we were leaking the
init_list GArray, which is used to hold instruction arguments that may
need initialization.  This patchset fixes the leak, removes unused
macros and undefined functions, and simplifies gen_inst_init_args() to
only handle predicate values.

Anton Johansson (4):
  target/hexagon: idef-parser remove unused defines
  target/hexagon: idef-parser remove undefined functions
  target/hexagon: idef-parser fix leak of init_list
  target/hexagon: idef-parser simplify predicate init

 target/hexagon/idef-parser/idef-parser.h    | 10 --------
 target/hexagon/idef-parser/idef-parser.y    |  2 --
 target/hexagon/idef-parser/parser-helpers.c | 27 ++++++++++++---------
 target/hexagon/idef-parser/parser-helpers.h | 13 ----------
 4 files changed, 16 insertions(+), 36 deletions(-)

-- 
2.44.0



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-05-08 14:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 18:31 [PATCH 0/4] target/hexagon: Minor idef-parser cleanup Anton Johansson via
2024-05-06 18:31 ` [PATCH 1/4] target/hexagon: idef-parser remove unused defines Anton Johansson via
2024-05-06 18:58   ` ltaylorsimpson
2024-05-06 18:31 ` [PATCH 2/4] target/hexagon: idef-parser remove undefined functions Anton Johansson via
2024-05-06 18:58   ` ltaylorsimpson
2024-05-06 18:31 ` [PATCH 3/4] target/hexagon: idef-parser fix leak of init_list Anton Johansson via
2024-05-06 18:58   ` ltaylorsimpson
2024-05-07  9:47     ` 'Anton Johansson' via
2024-05-07 21:05       ` ltaylorsimpson
2024-05-08 14:24         ` 'Anton Johansson' via
2024-05-06 18:31 ` [PATCH 4/4] target/hexagon: idef-parser simplify predicate init Anton Johansson via
2024-05-06 18:57   ` ltaylorsimpson
2024-05-07 11:18     ` 'Anton Johansson' via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).