]> git.proxmox.com Git - mirror_qemu.git/log
mirror_qemu.git
16 years agoTCG profiler clean up
bellard [Fri, 23 May 2008 09:57:34 +0000 (09:57 +0000)]
TCG profiler clean up

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

16 years agoprofiler clean up
bellard [Fri, 23 May 2008 09:52:20 +0000 (09:52 +0000)]
profiler clean up

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

16 years agoFix build failure for MIPS64 targets on 64-bit hosts.
ths [Fri, 23 May 2008 01:31:57 +0000 (01:31 +0000)]
Fix build failure for MIPS64 targets on 64-bit hosts.

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

16 years agoDelete dead code.
ths [Thu, 22 May 2008 20:42:15 +0000 (20:42 +0000)]
Delete dead code.

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

16 years agoRegister op helpers
blueswir1 [Thu, 22 May 2008 18:16:25 +0000 (18:16 +0000)]
Register op helpers

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

16 years agoSwitch MIPS branch handling to TCG, and clean out pointless wrapper
ths [Thu, 22 May 2008 17:46:10 +0000 (17:46 +0000)]
Switch MIPS branch handling to TCG, and clean out pointless wrapper
functions/macros.

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

16 years agouse debug_insn_start to have nicer debug traces
bellard [Thu, 22 May 2008 17:00:49 +0000 (17:00 +0000)]
use debug_insn_start to have nicer debug traces

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

16 years agoadded debug_insn_start debug instruction
bellard [Thu, 22 May 2008 16:56:05 +0000 (16:56 +0000)]
added debug_insn_start debug instruction

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

16 years agoproper helper definition registering (all targets must do that)
bellard [Thu, 22 May 2008 16:11:04 +0000 (16:11 +0000)]
proper helper definition registering (all targets must do that)

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

16 years agodebug output: write helper names
bellard [Thu, 22 May 2008 16:08:32 +0000 (16:08 +0000)]
debug output: write helper names

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

16 years agomore generic call codegen
bellard [Thu, 22 May 2008 14:59:57 +0000 (14:59 +0000)]
more generic call codegen

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

16 years agofixed zero shifts (64 bit case)
bellard [Thu, 22 May 2008 14:39:25 +0000 (14:39 +0000)]
fixed zero shifts (64 bit case)

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

16 years agoFix block-vmdk.c:vmdk_close() use-after-free, by Ed Maste.
ths [Thu, 22 May 2008 13:51:48 +0000 (13:51 +0000)]
Fix block-vmdk.c:vmdk_close() use-after-free, by Ed Maste.

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

16 years agosmall shift opts
bellard [Thu, 22 May 2008 13:25:14 +0000 (13:25 +0000)]
small shift opts

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

16 years agooptimization of shifts by a constant
bellard [Thu, 22 May 2008 12:36:31 +0000 (12:36 +0000)]
optimization of shifts by a constant

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

16 years agolahf/sahf cpuid test
bellard [Thu, 22 May 2008 10:13:38 +0000 (10:13 +0000)]
lahf/sahf cpuid test

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

16 years agocmpxchg8b fix - added cmpxchg16b
bellard [Thu, 22 May 2008 09:52:38 +0000 (09:52 +0000)]
cmpxchg8b fix - added cmpxchg16b

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

16 years agocmpxchg 64 bit fix
bellard [Thu, 22 May 2008 09:36:08 +0000 (09:36 +0000)]
cmpxchg 64 bit fix

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

16 years agofxsave/fxrstor 64 bit fix
bellard [Thu, 22 May 2008 09:20:43 +0000 (09:20 +0000)]
fxsave/fxrstor 64 bit fix

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

16 years agodisabled dyngen for x86 target
bellard [Wed, 21 May 2008 19:17:29 +0000 (19:17 +0000)]
disabled dyngen for x86 target

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

16 years agoconverted conditional jumps, SET and CMOVx to TCG
bellard [Wed, 21 May 2008 19:16:45 +0000 (19:16 +0000)]
converted conditional jumps, SET and CMOVx to TCG

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

16 years agoremoved unused defines
bellard [Wed, 21 May 2008 19:12:19 +0000 (19:12 +0000)]
removed unused defines

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

16 years agoconverted env access to TCG
bellard [Wed, 21 May 2008 17:16:11 +0000 (17:16 +0000)]
converted env access to TCG

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

16 years agoconvert eflags manipulation insns to TCG
bellard [Wed, 21 May 2008 17:07:20 +0000 (17:07 +0000)]
convert eflags manipulation insns to TCG

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

16 years agoconvert remaining segment handling to TCG
bellard [Wed, 21 May 2008 16:34:06 +0000 (16:34 +0000)]
convert remaining segment handling to TCG

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

16 years agoconverted LSL/LAR/VERW/VERR to TCG - force 16 bit memory access for LSL/LAR
bellard [Wed, 21 May 2008 16:25:27 +0000 (16:25 +0000)]
converted LSL/LAR/VERW/VERR to TCG - force 16 bit memory access for LSL/LAR

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

16 years agofixed dead global variable update
bellard [Wed, 21 May 2008 16:24:20 +0000 (16:24 +0000)]
fixed dead global variable update

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

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