[Qemu-devel] [PATCH 2/5] Add a PowerPC branch detector

2008-01-17 Thread Alexander Graf
PowerPCs have static instruction lengths, so writing an in-between brl detection is quite simple on this architecture. You are welcome to write something like this for any other platform, but if a compile doesn't trigger build errors on PowerPC, it shouldn't on other platforms either, as PowerPC

Re: [Qemu-devel] [PATCH 2/5] Add a PowerPC branch detector

2008-01-17 Thread Thiemo Seufer
Alexander Graf wrote: PowerPCs have static instruction lengths, so writing an in-between brl detection is quite simple on this architecture. You are welcome to write something like this for any other platform, but if a compile doesn't trigger build errors on PowerPC, it shouldn't on other

Re: [Qemu-devel] [PATCH 2/5] Add a PowerPC branch detector

2008-01-17 Thread Andreas Färber
Am 17.01.2008 um 15:38 schrieb Thiemo Seufer: I hope the whole problem goes away with the new code generator which is in the works. The code generated by that new code generator is substantially slower than what we have right now, so I am not so enthusiastic. I meant not qops but

Re: [Qemu-devel] [PATCH 2/5] Add a PowerPC branch detector

2008-01-17 Thread Alexander Graf
Thiemo Seufer wrote: Johannes Schindelin wrote: Hi, On Thu, 17 Jan 2008, Thiemo Seufer wrote: Alexander Graf wrote: [snip] Is check_ops.sh not enough for debugging micro-ops? Basically it should be. PowerPC branching can be (regex) b..rl. Honestly I did not

Re: [Qemu-devel] [PATCH 2/5] Add a PowerPC branch detector

2008-01-17 Thread Thiemo Seufer
Johannes Schindelin wrote: Hi, On Thu, 17 Jan 2008, Thiemo Seufer wrote: Alexander Graf wrote: [snip] Is check_ops.sh not enough for debugging micro-ops? Basically it should be. PowerPC branching can be (regex) b..rl. Honestly I did not know about this script though and as

Re: [Qemu-devel] [PATCH 2/5] Add a PowerPC branch detector

2008-01-17 Thread Thiemo Seufer
Alexander Graf wrote: [snip] Is check_ops.sh not enough for debugging micro-ops? Basically it should be. PowerPC branching can be (regex) b..rl. Honestly I did not know about this script though and as it was not in the makefile, it did not tell me that something wrong was going on. This

Re: [Qemu-devel] [PATCH 2/5] Add a PowerPC branch detector

2008-01-17 Thread Alexander Graf
Thiemo Seufer wrote: Alexander Graf wrote: PowerPCs have static instruction lengths, so writing an in-between brl detection is quite simple on this architecture. You are welcome to write something like this for any other platform, but if a compile doesn't trigger build errors on PowerPC,

Re: [Qemu-devel] [PATCH 2/5] Add a PowerPC branch detector

2008-01-17 Thread Johannes Schindelin
Hi, On Thu, 17 Jan 2008, Thiemo Seufer wrote: Alexander Graf wrote: [snip] Is check_ops.sh not enough for debugging micro-ops? Basically it should be. PowerPC branching can be (regex) b..rl. Honestly I did not know about this script though and as it was not in the makefile, it did