qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] tcg-arm improvements
@ 2013-03-05 15:56 Richard Henderson
  2013-03-05 15:56 ` [Qemu-devel] [PATCH 1/4] tcg-arm: Implement deposit for armv7 Richard Henderson
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Richard Henderson @ 2013-03-05 15:56 UTC (permalink / raw)
  To: qemu-devel

Here's a few things I've noticed while looking at debugging dumps.
Tested on an A15, compiled for armv7 and armv6.


r~


Richard Henderson (4):
  tcg-arm: Implement deposit for armv7
  tcg-arm: Use bic to implement and with constant
  tcg-arm: Handle negated constant arguments to and/sub
  tcg-arm: Improve constant generation

 tcg/arm/tcg-target.c | 170 ++++++++++++++++++++++++++++++++++++++++-----------
 tcg/arm/tcg-target.h |   7 ++-
 2 files changed, 138 insertions(+), 39 deletions(-)

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH 1/4] tcg-arm: Implement deposit for armv7
@ 2013-03-06 10:03 Jay Foad
  0 siblings, 0 replies; 6+ messages in thread
From: Jay Foad @ 2013-03-06 10:03 UTC (permalink / raw)
  To: Richard Henderson; +Cc: qemu-devel

> diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h
> index b6eed1f..cb89419 100644
> --- a/tcg/arm/tcg-target.h
> +++ b/tcg/arm/tcg-target.h
> @@ -73,10 +73,13 @@ typedef enum {
>  #define TCG_TARGET_HAS_eqv_i32          0
>  #define TCG_TARGET_HAS_nand_i32         0
>  #define TCG_TARGET_HAS_nor_i32          0
> -#define TCG_TARGET_HAS_deposit_i32      0
> +#define TCG_TARGET_HAS_deposit_i32      1
>  #define TCG_TARGET_HAS_movcond_i32      1
>  #define TCG_TARGET_HAS_muls2_i32        1
>
> +extern bool tcg_target_deposit_i32_value(int ofs, int len);
> +#define TCG_TARGET_deposit_i32_valid  tcg_target_deposit_i32_value

s/_value/_valid/g ?

Jay.

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

end of thread, other threads:[~2013-03-06 10:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 15:56 [Qemu-devel] [PATCH 0/4] tcg-arm improvements Richard Henderson
2013-03-05 15:56 ` [Qemu-devel] [PATCH 1/4] tcg-arm: Implement deposit for armv7 Richard Henderson
2013-03-05 15:56 ` [Qemu-devel] [PATCH 2/4] tcg-arm: Use bic to implement and with constant Richard Henderson
2013-03-05 15:56 ` [Qemu-devel] [PATCH 3/4] tcg-arm: Handle negated constant arguments to and/sub Richard Henderson
2013-03-05 15:56 ` [Qemu-devel] [PATCH 4/4] tcg-arm: Improve constant generation Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2013-03-06 10:03 [Qemu-devel] [PATCH 1/4] tcg-arm: Implement deposit for armv7 Jay Foad

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).