qemu
16 years agosuppressed no longer used ops
bellard [Wed, 21 May 2008 13:34:27 +0000 (13:34 +0000)]
suppressed no longer used ops

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4511 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted INTO/CMPXCHG8B to TCG
bellard [Wed, 21 May 2008 13:29:45 +0000 (13:29 +0000)]
converted INTO/CMPXCHG8B to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4510 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted BCD ops to TCG
bellard [Wed, 21 May 2008 13:24:30 +0000 (13:24 +0000)]
converted BCD ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4509 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted MUL/IMUL to TCG
bellard [Wed, 21 May 2008 10:12:54 +0000 (10:12 +0000)]
converted MUL/IMUL to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4508 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSwitch MIPS clo/clz and the condition tests to TCG.
ths [Wed, 21 May 2008 02:04:15 +0000 (02:04 +0000)]
Switch MIPS clo/clz and the condition tests to TCG.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4507 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSwitch MIPS movn/movz to TCG.
ths [Wed, 21 May 2008 02:02:39 +0000 (02:02 +0000)]
Switch MIPS movn/movz to TCG.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4506 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove currently unnecessary alignment masking
blueswir1 [Tue, 20 May 2008 19:36:22 +0000 (19:36 +0000)]
Remove currently unnecessary alignment masking

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4505 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix 8-bit signed load/store and a typo.
balrog [Tue, 20 May 2008 11:28:35 +0000 (11:28 +0000)]
Fix 8-bit signed load/store and a typo.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4504 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement neg_i32, clean-up.
balrog [Tue, 20 May 2008 11:26:40 +0000 (11:26 +0000)]
Implement neg_i32, clean-up.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4503 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoPrevent SEGV in VNC server for old clients (Anthony Liguori).
balrog [Tue, 20 May 2008 00:07:58 +0000 (00:07 +0000)]
Prevent SEGV in VNC server for old clients (Anthony Liguori).

If the client does not support the DesktopResize pseudo-encoding, then
vs->{width,height} may be smaller than ds->{width,height}.  dirty_row is
sized according to vs->{width,height}, not ds->{width,height}.

This patch makes sure to bound the update region to vs->{width,height} to
avoid a possible SEGV.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Reported-by: Marcelo Tosatti <mtosatti@redhat.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4502 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove dyngen ARM code, which did't build.
balrog [Tue, 20 May 2008 00:01:55 +0000 (00:01 +0000)]
Remove dyngen ARM code, which did't build.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4501 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoARM host support for TCG targets.
balrog [Mon, 19 May 2008 23:59:38 +0000 (23:59 +0000)]
ARM host support for TCG targets.

Updated from previous version to use the tcg prologue/epilogue mechanism, may be slower than direct call.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4500 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix Sparc32 compilation broken by r4484
blueswir1 [Mon, 19 May 2008 17:20:01 +0000 (17:20 +0000)]
Fix Sparc32 compilation broken by r4484

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4499 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoBetter solution for the alignment problem
blueswir1 [Mon, 19 May 2008 16:32:18 +0000 (16:32 +0000)]
Better solution for the alignment problem

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4498 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd file left out from previous commit.
ths [Sun, 18 May 2008 23:39:23 +0000 (23:39 +0000)]
Add file left out from previous commit.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4497 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSwitch most MIPS logical and arithmetic instructions to TCG.
ths [Sun, 18 May 2008 22:50:49 +0000 (22:50 +0000)]
Switch most MIPS logical and arithmetic instructions to TCG.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4496 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix local register cache handling.
ths [Sun, 18 May 2008 22:15:12 +0000 (22:15 +0000)]
Fix local register cache handling.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4495 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted string OPs and LOOP insns to TCG
bellard [Sun, 18 May 2008 19:28:26 +0000 (19:28 +0000)]
converted string OPs and LOOP insns to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4494 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agofixed INC/DEC condition codes
bellard [Sun, 18 May 2008 19:19:57 +0000 (19:19 +0000)]
fixed INC/DEC condition codes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4493 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoBoot tags setup needed by N800 proprietary bootloader.
balrog [Sun, 18 May 2008 13:58:19 +0000 (13:58 +0000)]
Boot tags setup needed by N800 proprietary bootloader.

This code is needed to make NOLO bootloader happy.  It is mostly guesses.
The tags are normally written by some early boot code that runs before NOLO.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4492 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoN810 keyboard slide open by default, add more comments.
balrog [Sun, 18 May 2008 13:14:29 +0000 (13:14 +0000)]
N810 keyboard slide open by default, add more comments.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4491 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd N810 to allowed -M values, add documentation part for N8x0.
balrog [Sun, 18 May 2008 13:01:40 +0000 (13:01 +0000)]
Add N810 to allowed -M values, add documentation part for N8x0.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4490 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCollapse omap peripherals on L4 bus into one io entry (temporarily).
balrog [Sun, 18 May 2008 12:14:41 +0000 (12:14 +0000)]
Collapse omap peripherals on L4 bus into one io entry (temporarily).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4489 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoETRAX: Connect both ethernet controllers.
edgar_igl [Sun, 18 May 2008 08:51:28 +0000 (08:51 +0000)]
ETRAX: Connect both ethernet controllers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4488 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoETRAX: Add support for the ethernet receivers dest addr filters.
edgar_igl [Sun, 18 May 2008 08:50:32 +0000 (08:50 +0000)]
ETRAX: Add support for the ethernet receivers dest addr filters.
* Support the station address filters MA0 and MA1.
* Model the group address bloom filter.
* Indentation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4487 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix constant checks on Sparc64 host
blueswir1 [Sun, 18 May 2008 08:11:14 +0000 (08:11 +0000)]
Fix constant checks on Sparc64 host

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4486 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix TCG alignment problems on Sparc64 host
blueswir1 [Sun, 18 May 2008 07:49:05 +0000 (07:49 +0000)]
Fix TCG alignment problems on Sparc64 host

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4485 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix Sparc64 host signal handling
blueswir1 [Sun, 18 May 2008 06:40:16 +0000 (06:40 +0000)]
Fix Sparc64 host signal handling

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4484 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSupport signal reception in user-mode. Handle when the peer terminates or aborts...
edgar_igl [Sat, 17 May 2008 22:20:53 +0000 (22:20 +0000)]
Support signal reception in user-mode. Handle when the peer terminates or aborts the connection.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4483 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoTry to fix USB HID and make the HID reports readable.
balrog [Sat, 17 May 2008 19:55:28 +0000 (19:55 +0000)]
Try to fix USB HID and make the HID reports readable.

Decode HID report Items in the comments.
Invert mouse wheel direction as per Alexander Graf's report and as we already do in the tablet.
Clamp the Relative values to -127:127 as we claimed in the HID descriptors.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4482 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted sign extension ops to TCG
bellard [Sat, 17 May 2008 19:24:07 +0000 (19:24 +0000)]
converted sign extension ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4481 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUse tcg_gen_not.
edgar_igl [Sat, 17 May 2008 19:11:14 +0000 (19:11 +0000)]
Use tcg_gen_not.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4480 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMONITOR insn address generation fix - converted XLAT to TCG
bellard [Sat, 17 May 2008 19:05:28 +0000 (19:05 +0000)]
MONITOR insn address generation fix - converted XLAT to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4479 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd support for the 'k' (kill) and 'D' (detach) packets (Jason Wessel).
edgar_igl [Sat, 17 May 2008 18:58:29 +0000 (18:58 +0000)]
Add support for the 'k' (kill) and 'D' (detach) packets (Jason Wessel).

Implement the 'k' gdbserial packet which kills the qemu instance via
the debugger stub.

Implement the 'D' detach packet for the gdb stub such that you can
disconnect gdb with the "detach" command.  This required implementing
a cpu_breakpoint_remove_all() and a cpu_watchpoint_remove_all()
function to cleanup all the breakpoints and watchpoints prior to
leaving the gdb stub else simulation can stop with no debugger
attached.

On a '?' packet remove all the breakpoints and watchpoints.  This is
considered more of a safety net in case you force killed gdb or it
crashed and you are reconnecting.  The identical behavior exists for
kgdb in the linux kernel.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4478 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoBSR/BSF TCG conversion
bellard [Sat, 17 May 2008 18:44:58 +0000 (18:44 +0000)]
BSR/BSF TCG conversion

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4477 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agomusicpal: Improve button handling (Jan Kiszka).
balrog [Sat, 17 May 2008 18:18:04 +0000 (18:18 +0000)]
musicpal: Improve button handling (Jan Kiszka).

Looking at the hold-button-on-powerup thing, I came across some
improvable parts in the MusicPal's button handling. This patch allows
for repeated wheel events by keying the arrow keys pressed, corrects
some constant name, and introduces an explicitly maintained GPIO_ISR
state.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4476 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove arm's local not_i32 tcg op now that there's one in tcg.
balrog [Sat, 17 May 2008 18:15:04 +0000 (18:15 +0000)]
Remove arm's local not_i32 tcg op now that there's one in tcg.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4475 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMissing include for Slirp on win32 (Eduardo Felipe).
balrog [Sat, 17 May 2008 18:07:00 +0000 (18:07 +0000)]
Missing include for Slirp on win32 (Eduardo Felipe).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4474 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted bit test operations to TCG
bellard [Sat, 17 May 2008 16:10:38 +0000 (16:10 +0000)]
converted bit test operations to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4473 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agomoved eflags computation outside op.c
bellard [Sat, 17 May 2008 13:57:33 +0000 (13:57 +0000)]
moved eflags computation outside op.c

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4472 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted adc, sbb, cmpxchg to TCG
bellard [Sat, 17 May 2008 13:50:02 +0000 (13:50 +0000)]
converted adc, sbb, cmpxchg to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4471 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted condition code supprot to TCG - converted shift ops to TCG
bellard [Sat, 17 May 2008 12:44:31 +0000 (12:44 +0000)]
converted condition code supprot to TCG - converted shift ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4470 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadded 'pure' function attribute - fixed indirect function calls
bellard [Sat, 17 May 2008 12:42:15 +0000 (12:42 +0000)]
added 'pure' function attribute - fixed indirect function calls

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4469 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadded not pseudo op - more _tl macros
bellard [Sat, 17 May 2008 12:40:44 +0000 (12:40 +0000)]
added not pseudo op - more _tl macros

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4468 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoGenerate better code for Sparc32 shifts
blueswir1 [Sat, 17 May 2008 09:43:12 +0000 (09:43 +0000)]
Generate better code for Sparc32 shifts

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4467 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix qemu_ld/st branches, constification, use orcc for tst synthetic op
blueswir1 [Sat, 17 May 2008 09:41:14 +0000 (09:41 +0000)]
Fix qemu_ld/st branches, constification, use orcc for tst synthetic op

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4466 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImproved workaround for the annoying glibc global register mangling bug
blueswir1 [Sat, 17 May 2008 07:38:10 +0000 (07:38 +0000)]
Improved workaround for the annoying glibc global register mangling bug

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4465 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUpdate TODO
blueswir1 [Sat, 17 May 2008 06:08:15 +0000 (06:08 +0000)]
Update TODO

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4464 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement qemu_ld/st, fix brcond, handle more corner cases
blueswir1 [Fri, 16 May 2008 20:15:58 +0000 (20:15 +0000)]
Implement qemu_ld/st, fix brcond, handle more corner cases

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4463 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAlways process real timers regardless of singlestep mode (Jason Wessel).
edgar_igl [Thu, 15 May 2008 19:54:00 +0000 (19:54 +0000)]
Always process real timers regardless of singlestep mode (Jason Wessel).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4462 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement brcond, ldst with large offset; fix direct jump, prologue
blueswir1 [Thu, 15 May 2008 19:44:09 +0000 (19:44 +0000)]
Implement brcond, ldst with large offset; fix direct jump, prologue

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4461 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix bit fitting checks
blueswir1 [Thu, 15 May 2008 17:30:17 +0000 (17:30 +0000)]
Fix bit fitting checks

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4460 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted more helpers to TCG - fixed some SVM issues
bellard [Thu, 15 May 2008 16:46:30 +0000 (16:46 +0000)]
converted more helpers to TCG - fixed some SVM issues

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4459 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agocpu_abort() is really an abort
bellard [Thu, 15 May 2008 16:17:07 +0000 (16:17 +0000)]
cpu_abort() is really an abort

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4458 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix compilation on Sparc host, implement ld and st
blueswir1 [Wed, 14 May 2008 19:22:05 +0000 (19:22 +0000)]
Fix compilation on Sparc host, implement ld and st

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4457 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoETRAX: Add some kind of support for simulating 802.3 auto-negotiation.
edgar_igl [Tue, 13 May 2008 23:51:49 +0000 (23:51 +0000)]
ETRAX: Add some kind of support for simulating 802.3 auto-negotiation.
* Add support for link partner ability and diagnostics reg.
* Correct the endianess for MDIO responses.
* Dont trash PHY registers after reads.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4456 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove some uses of phys_ram_base (initial patch by Ian Jackson)
blueswir1 [Tue, 13 May 2008 18:50:56 +0000 (18:50 +0000)]
Remove some uses of phys_ram_base (initial patch by Ian Jackson)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4455 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoi386 specific TODO
bellard [Tue, 13 May 2008 18:27:16 +0000 (18:27 +0000)]
i386 specific TODO

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4454 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoupdate
bellard [Tue, 13 May 2008 18:26:52 +0000 (18:26 +0000)]
update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4453 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix loading of binary ROMs
blueswir1 [Tue, 13 May 2008 15:44:10 +0000 (15:44 +0000)]
Fix loading of binary ROMs

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4452 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix compiler warning.
ths [Tue, 13 May 2008 14:35:34 +0000 (14:35 +0000)]
Fix compiler warning.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4451 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS: Improve TLB management and handle delayslots at page boundaries.
edgar_igl [Tue, 13 May 2008 10:59:14 +0000 (10:59 +0000)]
CRIS: Improve TLB management and handle delayslots at page boundaries.
* Dont flush the entire qemu tlb when the $pid changes. Instead we go through
  the guests TLB and choose entries that need to be flushed.
* Add env->dslot and handle delayslots at pageboundaries.
* Remove some unused code.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4450 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agocompilation fix
bellard [Mon, 12 May 2008 22:55:35 +0000 (22:55 +0000)]
compilation fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4449 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agouse new helper name
bellard [Mon, 12 May 2008 22:05:33 +0000 (22:05 +0000)]
use new helper name

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4448 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted more helpers to TCG
bellard [Mon, 12 May 2008 22:05:13 +0000 (22:05 +0000)]
converted more helpers to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4447 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoremoved unused code
bellard [Mon, 12 May 2008 22:03:14 +0000 (22:03 +0000)]
removed unused code

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4446 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFPU fixes
bellard [Mon, 12 May 2008 20:30:28 +0000 (20:30 +0000)]
FPU fixes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4445 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted x87 FPU ops to TCG
bellard [Mon, 12 May 2008 19:10:44 +0000 (19:10 +0000)]
converted x87 FPU ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4444 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMove prototype back to avoid a compiler warning
blueswir1 [Mon, 12 May 2008 17:59:14 +0000 (17:59 +0000)]
Move prototype back to avoid a compiler warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4443 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove most uses of phys_ram_base (initial patch by Ian Jackson)
blueswir1 [Mon, 12 May 2008 17:22:13 +0000 (17:22 +0000)]
Remove most uses of phys_ram_base (initial patch by Ian Jackson)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4442 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted SSE/MMX ops to TCG
bellard [Mon, 12 May 2008 16:47:36 +0000 (16:47 +0000)]
converted SSE/MMX ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4441 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoWrap long lines
blueswir1 [Mon, 12 May 2008 16:13:33 +0000 (16:13 +0000)]
Wrap long lines

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4440 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agouse TCG for MMX/SSE memory accesses
bellard [Mon, 12 May 2008 13:55:27 +0000 (13:55 +0000)]
use TCG for MMX/SSE memory accesses

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4439 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agotemporary hack to handle register shortage with dyngen for qemu_st64()
bellard [Mon, 12 May 2008 13:49:14 +0000 (13:49 +0000)]
temporary hack to handle register shortage with dyngen for qemu_st64()

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4438 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago2.6 kernels make int 5 a trap gate
bellard [Mon, 12 May 2008 12:23:31 +0000 (12:23 +0000)]
2.6 kernels make int 5 a trap gate

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4437 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agochar is only for strings
bellard [Mon, 12 May 2008 12:08:29 +0000 (12:08 +0000)]
char is only for strings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4436 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agothe double/triple fault handling was not tested in user mode.
bellard [Mon, 12 May 2008 12:04:40 +0000 (12:04 +0000)]
the double/triple fault handling was not tested in user mode.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4435 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoremoved unused code
bellard [Mon, 12 May 2008 12:00:46 +0000 (12:00 +0000)]
removed unused code

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4434 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS: Remove some old dyngen T0/T1 fiddle. More usage of the results from the x flag...
edgar_igl [Mon, 12 May 2008 07:57:23 +0000 (07:57 +0000)]
CRIS: Remove some old dyngen T0/T1 fiddle. More usage of the results from the x flag liveness analysis.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4433 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoDebugger single step without interrupts (Jason Wessel).
edgar_igl [Mon, 12 May 2008 07:44:23 +0000 (07:44 +0000)]
Debugger single step without interrupts (Jason Wessel).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4432 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove someexplicit alignment checks (initial patch by Fabrice Bellard)
blueswir1 [Sun, 11 May 2008 19:24:10 +0000 (19:24 +0000)]
Remove someexplicit alignment checks (initial patch by Fabrice Bellard)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4431 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUpdate the etrax machine.
edgar_igl [Sun, 11 May 2008 15:07:19 +0000 (15:07 +0000)]
Update the etrax machine.
* Use CFI-0002 flashes.
* Connect one of the ethernet blocks.
* Simplified irq numbering.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4430 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd limited support for the etrax ethernet controller.
edgar_igl [Sun, 11 May 2008 15:04:22 +0000 (15:04 +0000)]
Add limited support for the etrax ethernet controller.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4429 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd support for parts of the etraxfs dma controller.
edgar_igl [Sun, 11 May 2008 15:03:06 +0000 (15:03 +0000)]
Add support for parts of the etraxfs dma controller.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4428 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCorrect interrupt masking for etrax timers.
edgar_igl [Sun, 11 May 2008 14:58:19 +0000 (14:58 +0000)]
Correct interrupt masking for etrax timers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4427 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd TCG native negation op.
pbrook [Sun, 11 May 2008 14:35:37 +0000 (14:35 +0000)]
Add TCG native negation op.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4426 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS: Add support for the pseudo randomized set that the mmu provides with TLB refill...
edgar_igl [Sun, 11 May 2008 14:28:14 +0000 (14:28 +0000)]
CRIS: Add support for the pseudo randomized set that the mmu provides with TLB refill faults. This makes linux guests use the four way TLB set associativty.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4425 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd zero extension (pseudo-)ops.
pbrook [Sun, 11 May 2008 12:22:01 +0000 (12:22 +0000)]
Add zero extension (pseudo-)ops.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4424 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix parallel build (broken by commit r4407)
aurel32 [Sat, 10 May 2008 23:51:24 +0000 (23:51 +0000)]
Fix parallel build (broken by commit r4407)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4423 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix argument description for -loadvm option
aurel32 [Sat, 10 May 2008 23:28:26 +0000 (23:28 +0000)]
Fix argument description for -loadvm option

(Sebastian Herbszt)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4422 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix broken PPC user space single stepping
aurel32 [Sat, 10 May 2008 23:28:14 +0000 (23:28 +0000)]
Fix broken PPC user space single stepping

(Jason Wessel)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4421 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoREXB optimization cannot be done at this level
bellard [Sat, 10 May 2008 21:58:28 +0000 (21:58 +0000)]
REXB optimization cannot be done at this level

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4420 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadded missing return (Mike Frysinger)
bellard [Sat, 10 May 2008 21:51:02 +0000 (21:51 +0000)]
added missing return (Mike Frysinger)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4419 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agofixed qemu_st8 insn - prologue saved too many registers
bellard [Sat, 10 May 2008 21:42:05 +0000 (21:42 +0000)]
fixed qemu_st8 insn - prologue saved too many registers

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4418 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCorrect a formatting issue (Carlo Marcelo Arenas Belon).
edgar_igl [Sat, 10 May 2008 19:37:44 +0000 (19:37 +0000)]
Correct a formatting issue (Carlo Marcelo Arenas Belon).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4417 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS: helper_dummy no longer needed as barrier for qemu_ld/st.
edgar_igl [Sat, 10 May 2008 19:20:33 +0000 (19:20 +0000)]
CRIS: helper_dummy no longer needed as barrier for qemu_ld/st.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4416 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix DEBUG_TCGV.
pbrook [Sat, 10 May 2008 18:43:02 +0000 (18:43 +0000)]
Fix DEBUG_TCGV.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4415 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix ppcemb-softmmu (Stuart Brady)
blueswir1 [Sat, 10 May 2008 17:23:18 +0000 (17:23 +0000)]
Fix ppcemb-softmmu (Stuart Brady)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4414 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agofixed do_restore_state()
bellard [Sat, 10 May 2008 15:42:17 +0000 (15:42 +0000)]
fixed do_restore_state()

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4413 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRename CONFIG_NO_DYNGEN_OP to CONFIG_DYNGEN_OP to avoid double negatives
blueswir1 [Sat, 10 May 2008 12:27:33 +0000 (12:27 +0000)]
Rename CONFIG_NO_DYNGEN_OP to CONFIG_DYNGEN_OP to avoid double negatives

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4412 c046a42c-6fe2-441c-8c8c-71466251a162