Statistics
| Branch: | Revision:

root @ e77f0832

# Date Author Comment
8c3ac601 02/25/2013 10:32 pm Peter Crosthwaite

arm/translate.c: Fix adc_CC/sbc_CC implementation

commits 49b4c31efcce45ab714f286f14fa5d5173f9069d and
2de68a4900ef6eb67380b0c128abfe1976bc66e8 reworked the implementation of adc_CC
and sub_CC. The new implementations (on the TCG_TARGET_HAS_add2_i32 code path)...

e77f0832 02/25/2013 10:32 pm Richard Henderson

target-arm: Fix sbc_CC carry

While T0+~T1+CF = T0-T1+CF-1 is true for the low 32-bits,
it does not produce the correct carry-out to bit 33. Do
exactly what the manual says.

Using the ~T1 makes the add and subtract code paths nearly
identical, so have sbc_CC use adc_CC....

a345481b 02/23/2013 11:20 pm Petar Jovanovic

target-mips: fix for sign-issue in MULQ_W helper

Correct sign-propagation before multiplication in MULQ_W helper.
The change also fixes previously incorrect expected values in the
tests for MULQ_RS.W and MULQ_S.W.

Signed-off-by: Petar Jovanovic <>...

9c19eb1e 02/23/2013 11:20 pm Petar Jovanovic

target-mips: fix for incorrect multiplication with MULQ_S.PH

The change corrects sign-related issue with MULQ_S.PH. It also includes
extension to the already existing test which will trigger the issue.

Signed-off-by: Petar Jovanovic <>
Signed-off-by: Aurelien Jarno <>

1d3b7084 02/23/2013 07:25 pm Richard Henderson

target-sh4: Use mul*2 for dmul*

Cc: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

d1f8cd83 02/23/2013 07:25 pm Richard Henderson

target-unicore32: Use mul*2 for do_mult

Cc: Guan Xuetao <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

c9cda20b 02/23/2013 07:25 pm Richard Henderson

target-xtensa: Use mul*2 for mul*hi

Cc: Max Filippov <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

d2123a07 02/23/2013 07:25 pm Richard Henderson

target-xtensa: Use add2/sub2 for mac

Cc: Max Filippov <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

bf45f971 02/23/2013 07:25 pm Richard Henderson

target-cris: Use mul*2 in mul* insns

Cc: Edgar E. Iglesias <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

23ad1d5d 02/23/2013 07:25 pm Richard Henderson

target-ppc: Use mul*2 in mulh* insns

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

da91a00f 02/23/2013 07:25 pm Richard Henderson

target-ppc: Split out SO, OV, CA fields from XER

In preparation for more efficient setting of these fields.

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

2fdcb629 02/23/2013 07:25 pm Richard Henderson

target-ppc: Use setcond in gen_op_cmp

Which means that callers need not copy data into local tmps.

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

ffe30937 02/23/2013 07:25 pm Richard Henderson

target-ppc: Compute addition overflow without branches

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

146de60d 02/23/2013 07:25 pm Richard Henderson

target-ppc: Compute addition carry with setcond

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

b5a73f8d 02/23/2013 07:25 pm Richard Henderson

target-ppc: Use add2 for carry generation

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

fd3f0081 02/23/2013 07:25 pm Richard Henderson

target-ppc: Implement neg in terms of subf

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

ba4af3e4 02/23/2013 07:25 pm Richard Henderson

target-ppc: Compute arithmetic shift carry without branches

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

e4a2c846 02/23/2013 07:25 pm Richard Henderson

target-ppc: Compute mullwo without branches

Cc: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

15fe216f 02/23/2013 07:25 pm Richard Henderson

target-sparc: Use official add2/sub2 interfaces for addx/subx

Cc: Blue Swirl <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

528692a8 02/23/2013 07:25 pm Richard Henderson

target-sparc: Use mul*2 for multiply

Cc: Blue Swirl <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

624988a5 02/23/2013 07:25 pm Richard Henderson

tcg-i386: Implement multiword arithmetic ops

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

d693e147 02/23/2013 07:25 pm Richard Henderson

tcg-arm: Implement muls2_i32

We even had the encoding of smull already handy...

Cc: Andrzej Zaborowski <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

76f13133 02/23/2013 07:25 pm Richard Henderson

target-i386: Use add2 to implement the ADX extension

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

f402f38f 02/23/2013 07:25 pm Richard Henderson

tcg: Implement muls2 with mulu2

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

f1fae40c 02/23/2013 07:25 pm Richard Henderson

tcg: Apply life analysis to 64-bit multiword arithmetic ops

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

962415fc 02/23/2013 07:25 pm Richard Henderson

target-alpha: Use mulu2 for umulh insn

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

dc46d1c6 02/23/2013 07:25 pm Richard Henderson

target-s390x: Use mulu2 for mlgr insn

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

831d7fe8 02/23/2013 07:25 pm Richard Henderson

target-arm: Use mul[us]2 in gen_mul[us]_i64_i32

Cc: Peter Maydell <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

c9f10124 02/23/2013 07:25 pm Richard Henderson

target-arm: Use mul[us]2 and add2 in umlal et al

Cc: Peter Maydell <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

e3482cb8 02/23/2013 07:25 pm Richard Henderson

target-arm: Use add2 in gen_add_CC

Cc: Peter Maydell <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

49b4c31e 02/23/2013 07:25 pm Richard Henderson

target-arm: Implement adc_cc inline

Use add2 if available, otherwise use 64-bit arithmetic.

Cc: Peter Maydell <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

2de68a49 02/23/2013 07:25 pm Richard Henderson

target-arm: Implement sbc_cc inline

Use sub2 if available, otherwise use 64-bit arithmetic.

Cc: Peter Maydell <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

ce1dd5d1 02/23/2013 07:25 pm Richard Henderson

target-mips: Use mul[us]2 in [D]MULT[U] insns

Cc: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

e6a72734 02/23/2013 07:25 pm Richard Henderson

tcg: Make 32-bit multiword operations optional for 64-bit hosts

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

bbc863bf 02/23/2013 07:25 pm Richard Henderson

tcg-i386: Always implement 32-bit multiword ops

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

803d805b 02/23/2013 07:25 pm Richard Henderson

tcg-sparc: Always implement 32-bit multiword ops

Cc: Blue Swirl <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

d7156f7c 02/23/2013 07:25 pm Richard Henderson

tcg: Add 64-bit multiword arithmetic operations

Matching the 32-bit multiword arithmetic that we already have.

Signed-off-by: Blue Swirl <>

4d3203fd 02/23/2013 07:25 pm Richard Henderson

tcg: Add signed multiword multiplication operations

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

3c51a985 02/23/2013 07:25 pm Richard Henderson

tcg: Implement a 64-bit to 32-bit extraction helper

We're going to have use for this shortly in implementing other helpers.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

696a8be6 02/23/2013 07:25 pm Richard Henderson

tcg: Implement multiword multiply helpers

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

f6953a73 02/23/2013 07:25 pm Richard Henderson

tcg: Implement multiword addition helpers

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

f708e736 02/23/2013 07:21 pm Blue Swirl

Merge branch 'eflags3' of git://github.com/rth7680/qemu

  • 'eflags3' of git://github.com/rth7680/qemu: (61 commits)
    target-i386: Use movcond to implement shiftd.
    target-i386: Discard CC_OP computation in set_cc_op also
    target-i386: Use movcond to implement rotate flags....
6ab7e546 02/23/2013 06:11 pm Peter Maydell

Replace all setjmp()/longjmp() with sigsetjmp()/siglongjmp()

The setjmp() function doesn't specify whether signal masks are saved and
restored; on Linux they are not, but on BSD (including MacOSX) they are.
We want to have consistent behaviour across platforms, so we should...

d1c36ba7 02/23/2013 12:00 pm Ronald Hecht

SPARC LEON power-down support added

Signed-off-by: Ronald Hecht <address@hidden>
Signed-off-by: Fabien Chouteau <>
Signed-off-by: Blue Swirl <>

7a0a9c2c 02/23/2013 12:00 pm Ronald Hecht

Added LEON MMU ASI mappings and corrected LEON3 MMU masks.

This patch adds SPARC ASI mappings that are used by the LEON processor.It also
corrects the MMU context register and context table pointer mask of the LEON3.

Signed-off-by: Ronald Hecht <>...

99e44800 02/23/2013 12:00 pm Ronald Hecht

grlib-apbuart: Add support of various flags

- enable/disable Rx and Tx
- Rx and Tx interrupt
- Tx FIFO empty and Tx SHIFT empty

Signed-off-by: Fabien Chouteau <>
Signed-off-by: Blue Swirl <>

8eda2228 02/23/2013 12:00 pm Fabien Chouteau

Typo: replace gptimer by apbuart

Signed-off-by: Fabien Chouteau <>
Signed-off-by: Blue Swirl <>

af18078d 02/23/2013 11:50 am Peter Maydell

disas/i386.c: Add explicit braces round empty for-loop body

Add explicit braces round an empty for-loop body; this fits
QEMU style and is easier to read than an inconspicuous semicolon
at the end of the line. It also silences a clang warning:

disas/i386.c:4723:49: warning: for loop has empty body [-Wempty-body]...

632314c4 02/23/2013 11:42 am Peter Maydell

qemu-log: Remove qemu_log_try_set_file() and its users

Remove the function qemu_log_try_set_file() and its users (which
are all in TCG code generation functions for various targets).
This function was added to abstract out code which was originally
written as "if (!logfile) logfile = stderr;" in order that BUG:...

685cbd2f 02/23/2013 11:39 am Hervé Poussineau

xhci: fix bad print specifier

This fixes the following compilation error:
hw/usb/hcd-xhci.c:1156:17: error: format ‘%llx’ expects argument of type
‘long long unsigned int’, but argument 4 has type ‘unsigned int’

Signed-off-by: Hervé Poussineau <>...

30e8f22b 02/22/2013 10:49 pm Jan Kiszka

gtk: Rename File to Machine menu and add pause, reset and power down items

This adds basic guest control commands to the "Machine" menu - a nice
added-value for the GTK UI.

We use "pause" as the term for stopping the machine here. So reword also
the related caption tag....

10409282 02/22/2013 10:49 pm Stefan Weil

ui/gtk: Use menu item from stock for full screen

This reduces the required translations and gives a nicer menu
with an icon.

The full screen menu item is no longer a check menu item.
A checked item is not visible in full screen mode,
so it is not needed for this special menu item....

28d2e5b2 02/22/2013 10:48 pm Stefan Weil

ui/gtk: Support versions of VTE before 0.26

This is needed for current Debian stable (Squeeze).

VTE versions before 0.26 did not support VtePty.

Lower the version requirement and use alternate code which works for Debian.

Signed-off-by: Stefan Weil <>...

c95e3080 02/22/2013 10:48 pm Kevin Wolf

Reenable -Wstrict-prototypes

One part of this patch reverts commit 22bc9a46, which disabled the
warning. The rest of it deals with the warning by adding a #pragma for
newer gcc and by disabling -Werror for compilers that can't deal with
the #pragma.

Signed-off-by: Kevin Wolf <>...

82fb0c89 02/22/2013 05:53 pm Gerd Hoffmann

unbreak hw/usb/redirect.c build

Commit 8550a02d1239415342959f6a32d178bc05c557cc added a streams
parameter to usb_wakeup and didn't update redirect.c. Fix it.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

5cbb0828 02/22/2013 05:53 pm Anthony Liguori

ui/gtk: require at least GTK 2.18 and VTE 0.26

This gives us the bare amount of features we need. We can add work arounds
for older versions and lower the requirement but this should be a good
starting point.

Suggested-by: Daniel Berrange <>...

3f58eade 02/22/2013 03:17 pm Stefan Weil

ui/gtk: Fix build (missing include for setlocale)

At least for Ubuntu Linux locale.h is needed.

Signed-off-by: Stefan Weil <>
Message-id:
Signed-off-by: Anthony Liguori <>

15546425 02/22/2013 12:34 am Anthony Liguori

gtk: make default UI (v5)

A user can still enable SDL with '-sdl' or '-display sdl' but start making the
default display GTK by default.

I'd also like to deprecate the SDL display and remove it in a few releases.

Signed-off-by: Anthony Liguori <>...

73d4dc71 02/22/2013 12:34 am Anthony Liguori

gtk: suppress accelerators from the File menu when grab is active

If you're full screen, you probably expect Ctrl-Q to go to the guest,
not the host. I think restricting certain menus is the right way to
handle this generally speaking.

Signed-off-by: Anthony Liguori <>...

22bc9a46 02/22/2013 12:34 am Anthony Liguori

build: disable Wstrict-prototypes

GTK won't build with strict-prototypes due to gtkitemfactory.h:

/* We use () here to mean unspecified arguments. This is deprecated
 * as of C99, but we can't change it without breaking compatibility.
 * (Note that if we are included from a C++ program () will mean...
d82831db 02/22/2013 12:34 am Anthony Liguori

console: allow VCs to be overridden by UI

We want to expose VCs using a VteTerminal widget. We need access to provide our
own CharDriverState in order to do this.

Signed-off-by: Anthony Liguori <>
Message-id:

a4ccabcf 02/22/2013 12:34 am Anthony Liguori

ui: add basic GTK gui (v5)

This is minimalistic and just contains the basic widget infrastructure. The GUI
consists of a menu and a GtkNotebook. To start with, the notebook has its tabs
hidden which provides a UI that looks very similar to SDL with the exception of...

d861def3 02/22/2013 12:34 am Anthony Liguori

gtk: add virtual console support (v2)

This enables VteTerminal to be used to render the text consoles. VteTerminal is
the same widget used by gnome-terminal which means it's VT100 emulation is as
good as they come.

It's also screen reader accessible, supports copy/paste, proper scrolling and...

5104a1f6 02/22/2013 12:34 am Anthony Liguori

gtk: add support for input grabbing (v2)

There is a small deviation from SDL's behavior here. Instead of Ctrl+Alt
triggering grab, we now use Ctrl-Alt-g to trigger grab.

GTK will not accept Ctrl+Alt as an accelerator since it just consists of
modifiers. Having grab as a proper accelerator is important as it allows a user...

c6158483 02/22/2013 12:34 am Anthony Liguori

gtk: add support for screen scaling and full screen (v5)

Basic menu items to enter full screen mode and zoom in/out. Unlike SDL, we
don't allow arbitrary scaling based on window resizing. The current behavior
with SDL causes a lot of problems for me.

Sometimes I accidentally resize the window a tiny bit while trying to move it...

834574ea 02/22/2013 12:34 am Anthony Liguori

gtk: add translation support (v5)

This includes a de_DE translation from Kevin Wolf and an it translation from
Paolo Bonzini.

Cc: Paolo Bonzini <>
Cc: Kevin Wolf <>
Cc: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>...

3e407de4 02/22/2013 12:34 am Peter Crosthwaite

qom/object.c: Reset interface list on inheritance

The QOM framework will attempt the recreate a classes interface list from
scratch for each class. This means that a child class should zero out the
list of interfaces when cloned from the parent class.

Currently the list is memcpy()d from the parent to the child. As the interface...

00e2ceae 02/22/2013 12:34 am Peter Crosthwaite

qom/object.c: Allow itf cast with num_itfs = 0

num_interfaces only tells you how many interfaces the concrete child class has
(as defined in the TypeInfo). This means if you have a child class which defines
no interfaces of its own, but its parent has interfaces you cannot cast to those...

b1424e03 02/22/2013 12:34 am Gerd Hoffmann

vga: fix byteswapping.

In case host and guest endianness differ the vga code first creates
a shared surface (using qemu_create_displaysurface_from), then goes
patch the surface format to indicate that the bytes must be swapped.

The switch to pixman broke that hack as the format patching isn't...

ba43da36 02/22/2013 12:33 am Peter Maydell

Remove elderly top level TODO file

The top level TODO file hasn't been touched since 2008, so it's now
an unhelpful and out of date mix of things that have already been done,
things that don't make sense any more and things which could in theory
be done but are not in practice important enough (or we'd have done...

2ca81baa 02/22/2013 12:33 am Jason Wang

help: add docs for multiqueue tap options

Cc: Markus Armbruster <>
Cc: Jason Wang <>
Signed-off-by: Jason Wang <>
Message-id:
Signed-off-by: Anthony Liguori <>

8917c3bd 02/22/2013 12:17 am Stefan Hajnoczi

slirp: switch to GPollFD

Slirp uses rfds/wfds/xfds more extensively than other QEMU components.

The rarely-used out-of-band TCP data feature is used. That means we
need the full table of select(2) to g_poll(3) events:

rfds -> G_IO_IN | G_IO_HUP | G_IO_ERR...
a3e4b4a8 02/22/2013 12:17 am Stefan Hajnoczi

iohandler: switch to GPollFD

Convert iohandler_select_fill() and iohandler_select_poll() to use
GPollFD instead of rfds/wfds/xfds.

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Laszlo Ersek <>
Message-id: ...

9cbaacf9 02/22/2013 12:17 am Stefan Hajnoczi

main-loop: drop rfds/wfds/xfds for good

Now that all *_fill() and *_poll() functions use GPollFD we no longer
need rfds/wfds/xfds or pollfds_from_select()/pollfds_to_select().

From now on everything uses GPollFD.

Signed-off-by: Stefan Hajnoczi <>...

d0c8d2c0 02/22/2013 12:17 am Stefan Hajnoczi

aio: extract aio_dispatch() from aio_poll()

We will need to loop over AioHandlers calling >io_read()/>io_write()
when aio_poll() is converted from select(2) to g_poll(2).

Luckily the code for this already exists, extract it into the new
aio_dispatch() function....

6b5f8762 02/22/2013 12:17 am Stefan Hajnoczi

aio: convert aio_poll() to g_poll(3)

AioHandler already has a GPollFD so we can directly use its
events/revents.

Add the int pollfds_idx field to AioContext so we can map g_poll(3)
results back to AioHandlers.

Reuse aio_dispatch() to invoke handlers after g_poll(3)....

b5a01a70 02/22/2013 12:17 am Stefan Hajnoczi

aio: support G_IO_HUP and G_IO_ERR

aio-posix.c could not take advantage of G_IO_HUP and G_IO_ERR because
select(2) does not have equivalent events. Now that g_poll(3) is used
we can support G_IO_HUP and G_IO_ERR.

Signed-off-by: Stefan Hajnoczi <>...

134a03e0 02/22/2013 12:17 am Stefan Hajnoczi

main-loop: fix select_ret uninitialized variable warning

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Laszlo Ersek <>
Message-id:
Signed-off-by: Anthony Liguori <>

cbff4b34 02/22/2013 12:17 am Stefan Hajnoczi

main-loop: switch to g_poll() on POSIX hosts

Use g_poll(3) instead of select(2). Well, this is kind of a cheat.
It's true that we're now using g_poll(3) on POSIX hosts but the *_fill()
and *_poll() functions are still using rfds/wfds/xfds.

We've set the scene to start converting *_fill() and *_poll() functions...

48ce11ff 02/22/2013 12:17 am Stefan Hajnoczi

main-loop: switch POSIX glib integration to GPollFD

Convert glib file descriptor polling from rfds/wfds/xfds to GPollFD.

The Windows code still needs poll_fds[] and n_poll_fds but they can now
become local variables.

Signed-off-by: Stefan Hajnoczi <>...

cf1d078e 02/22/2013 12:17 am Stefan Hajnoczi

slirp: slirp/slirp.c coding style cleanup

The slirp glue code uses tabs in some places. Since the next patch will
modify the file, convert tabs to spaces and fix checkpatch.pl issues.

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Laszlo Ersek <>...

70aa41b5 02/21/2013 05:39 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.78' into staging

  1. By Gerd Hoffmann
  2. Via Gerd Hoffmann
    • kraxel/usb.78:
      uas-uas: usb3 streams
      usb-xhci: usb3 streams
      usb-core: usb3 streams
      usb: fix endpoint descriptor ordering
      usb-redir: simplify packet copy...
259dc0c1 02/21/2013 05:38 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  1. By Alin Tomescu (1) and others
  2. Via Stefan Hajnoczi
    • stefanha/trivial-patches:
      .gitignore: Ignore optionrom/*.asm
      ppc: fix bamboo >256MB RAM initialization in hw/ppc4xx_devs.c
      Add some missing qtest binaries to .gitignore...
159c9836 02/21/2013 11:38 am Cole Robinson

.gitignore: Ignore optionrom/*.asm

Signed-off-by: Cole Robinson <>
Signed-off-by: Stefan Hajnoczi <>

11e5d738 02/21/2013 11:34 am Alin Tomescu

ppc: fix bamboo >256MB RAM initialization in hw/ppc4xx_devs.c

I was trying to launch a PowerPC "bamboo" machine with more than 256MB of RAM
with qemu-system-ppc -M bamboo -kernel $kernel -initrd $ramdisk -m 512, but QEMU
would just hang. However, when I used -m 256, the machine would boot....

499a6165 02/21/2013 11:33 am David Gibson

Add some missing qtest binaries to .gitignore

These binaries are generated during make check on at least some
configurations, so att them to .gitignore.

Signed-off-by: David Gibson <>
Signed-off-by: Stefan Hajnoczi <>

87f1361c 02/21/2013 11:33 am Hervé Poussineau

Remove forward declaration of non-existant variable

This variable has been removed 5 years ago in 970ac5a3082428dca91171f270dcd95d6f4b2636.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Stefan Hajnoczi <>

b15aaca4 02/21/2013 11:33 am Peter Crosthwaite

xilinx_axienet.c: Assert no error when making link

This gives an awful silent failure when it doesn't work. Assert against link
creation failure.

Signed-off-by: Peter Crosthwaite <>
Signed-off-by: Stefan Hajnoczi <>

a41f62f5 02/20/2013 09:05 am Richard Henderson

target-i386: Use movcond to implement shift flags.

With this being all straight-line code, it can get deleted
when the cc variables die.

Signed-off-by: Richard Henderson <>

34d80a55 02/20/2013 09:05 am Richard Henderson

target-i386: Use movcond to implement rotate flags.

With this being all straight-line code, it can get deleted
when the cc variables die.

Signed-off-by: Richard Henderson <>

e2f515cf 02/20/2013 09:05 am Richard Henderson

target-i386: Discard CC_OP computation in set_cc_op also

The shift and rotate insns use movcond to set CC_OP, and thus
achieve a conditional EFLAGS setting. By discarding CC_OP in
a later flags setting insn, we can discard that movcond.

Signed-off-by: Richard Henderson <>

f437d0a3 02/20/2013 09:05 am Richard Henderson

target-i386: Use movcond to implement shiftd.

With this being all straight-line code, it can get deleted
when the cc variables die.

Signed-off-by: Richard Henderson <>

cd7f97ca 02/20/2013 09:05 am Richard Henderson

target-i386: Implement ADX extension

Signed-off-by: Richard Henderson <>

f1300734 02/20/2013 09:05 am Richard Henderson

target-i386: Use clz/ctz for bsf/bsr helpers

And mark the helpers as NO_RWG_SE.

Signed-off-by: Richard Henderson <>

321c5351 02/20/2013 09:05 am Richard Henderson

target-i386: Implement tzcnt and fix lzcnt

We weren't computing flags for lzcnt at all. At the same time,
adjust the implementation of bsf/bsr to avoid the local branch,
using movcond instead.

Signed-off-by: Richard Henderson <>

436ff2d2 02/20/2013 09:05 am Richard Henderson

target-i386: Add CC_OP_CLR

Special case xor with self. We need not even store the known
zero into cc_src.

Signed-off-by: Richard Henderson <>

89a453d4 02/19/2013 02:18 pm Gerd Hoffmann

uas-uas: usb3 streams

Add usb3 streams support to the uas (usb attached scsi) emulation.

Signed-off-by: Gerd Hoffmann <>

024426ac 02/19/2013 02:17 pm Gerd Hoffmann

usb-xhci: usb3 streams

Add streams support to the xhci emulation. No secondary streams yet,
only linear stream arays are supported for now.

Signed-off-by: Gerd Hoffmann <>

2e5df36d 02/19/2013 01:30 pm Gerd Hoffmann

usb: fix endpoint descriptor ordering

Fix the ordering of the endpoint descriptors for superspeed endpoints:
The superspeed companion must come first, possible additional
descriptors for the endpoint after that.

Signed-off-by: Gerd Hoffmann <>

8550a02d 02/19/2013 01:30 pm Gerd Hoffmann

usb-core: usb3 streams

This patch adds support for usb3 streams to the usb subsystem core.
This is just adding a streams field / parameter in a number of places.

Signed-off-by: Gerd Hoffmann <>