QEMU update with VENOM (CVE-2015-3456) patch
[packages/centos6/qemu.git] / 0091-tcg-sparc-Add-g-o-registers-to-alloc_order.patch
1 From ca72cdf648b56d851c4bc9145a1abfcbeeec0579 Mon Sep 17 00:00:00 2001
2 From: Richard Henderson <rth@twiddle.net>
3 Date: Sun, 25 Mar 2012 22:43:17 +0200
4 Subject: [PATCH] tcg-sparc: Add %g/%o registers to alloc_order
5
6 Signed-off-by: Richard Henderson <rth@twiddle.net>
7 Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
8 ---
9  tcg/sparc/tcg-target.c | 13 +++++++++++++
10  1 file changed, 13 insertions(+)
11
12 diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c
13 index d401f8e..03c385a 100644
14 --- a/tcg/sparc/tcg-target.c
15 +++ b/tcg/sparc/tcg-target.c
16 @@ -78,12 +78,25 @@ static const int tcg_target_reg_alloc_order[] = {
17      TCG_REG_L5,
18      TCG_REG_L6,
19      TCG_REG_L7,
20 +
21      TCG_REG_I0,
22      TCG_REG_I1,
23      TCG_REG_I2,
24      TCG_REG_I3,
25      TCG_REG_I4,
26      TCG_REG_I5,
27 +
28 +    TCG_REG_G2,
29 +    TCG_REG_G3,
30 +    TCG_REG_G4,
31 +    TCG_REG_G5,
32 +
33 +    TCG_REG_O0,
34 +    TCG_REG_O1,
35 +    TCG_REG_O2,
36 +    TCG_REG_O3,
37 +    TCG_REG_O4,
38 +    TCG_REG_O5,
39  };
40  
41  static const int tcg_target_call_iarg_regs[6] = {
42 -- 
43 1.7.12.1
44