Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
148 user(s) are online (75 user(s) are browsing Forums)

Members: 0
Guests: 148

more...

Headlines

 
  Register To Post  

(1) 2 3 »
UAE JIT BETA 2
Quite a regular
Quite a regular


See User information

Go to top
Re: UAE JIT BETA 2
Not too shy to talk
Not too shy to talk


See User information
oh man, that was long but very informative and interesting info. thanks
i can feel hard work is done here also

Sam460ex 2GB 120Gb SSD&1Tb HD7750 Envy24HT A-Eon Drv 2.10+Warp3D New Uboot
Apollo v4 Standalone
Go to top
Re: UAE JIT BETA 2
Just popping in
Just popping in


See User information
@AmigaBlitter

Thanks for posting the link. I wonder what improvements could be made regarding the reference to an executable compiled specifically for PA-Semi / X1000

Sam460 : X1000 : X5000
Go to top
Re: UAE JIT BETA 2
Home away from home
Home away from home


See User information
@logicalheart

Its almost as slow as interpreted emulation on X1000.
The opcodes in the Just In Time compiler are not compatible whit Pa-Semi.

AmigaOS4 emulates missing opcodes, and result is slow run time speed.

This are Dystone numbers I have from SysInfo:

EUAE Beta 1: 4880
EUAE Beta 2: 4918
Old EUAE before JIT: 3540.

Yes there are some improvement but not major like you see on G4.

The EUAE-JIT G5 version is only availabile on MorphOS/MacOS, so I can't test that one.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: UAE JIT BETA 2
Just can't stay away
Just can't stay away


See User information
On my SAM460ex if I don't set 'ppc.use_tbc=false' in .uaerc timebase is wrong calculated:
..
E-UAE 0.8.29-PPCJITBETA02
Build date: Mar 9 2014 14:20:46
Found 0 joysticks
Opening cfgfile '.uaerc'...okay.
Error: directory 'OS3' not found
unknown config entry: 'enable_jit=yes'
Calibrating timebase...
Timebase frequency: 296.143080 MHz
..

Setting such option I get:
..
#uaeJIT
E-UAE 0.8.29-PPCJITBETA02
Build date: Mar 9 2014 14:20:46
Found 0 joysticks
Opening cfgfile '.uaerc'...okay.
Error: directory 'OS3' not found
unknown config entry: 'enable_jit=yes'
EClock frequency:1155.000010 MHz
..


SAM460ex: 1155 MHz
L1: 32768, L2: 262144, L3: 0 Bytes
FSB: 231 MHz

Go to top
Re: UAE JIT BETA 2
Not too shy to talk
Not too shy to talk


See User information
"executable compiled specifically for PA-Semi / X1000"

Do we have gcc that supports compiler optimizations for PA6T?
Then... we need gcc that is aware of e5500 & e6500.

- Kimmo
--------------------------PowerPC-Advantage------------------------
"PowerPC Operating Systems can use a microkernel architecture with all it�s advantages yet without the cost of slow context switches." - N. Blachford
Go to top
Re: UAE JIT BETA 2
Quite a regular
Quite a regular


See User information
Am I right in thinking that the GCC we have pre-dates the PA6t? I'm not sure anyone is maintaining GCC are they? We really need support for our flagship.... is the current GCC version in thr official GCC repisitory?


Well done on the JIT progress though!

--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my company's shop: http://www.mutant-caterpillar.co.uk/shop/ - specialising in Sinclair Spectrums but will be adding Amigas!
Go to top
Re: UAE JIT BETA 2
Quite a regular
Quite a regular


See User information
@jabirulo

E-UAE JIT beta 2 detects sam440ep and skips calculating the timebase. MACHINETYPE_SAM460 isn't included in the SDK that Rachy built it with, but I think that can be worked around without updating the SDK, seeing as it's just a numerical value. I'll let him know.

Go to top
Re: UAE JIT BETA 2
Just can't stay away
Just can't stay away


See User information
the pa6t gcc machine description is available here http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00854.html

Whether it is usable for AmigaOS is another thing entirely...

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: UAE JIT BETA 2
Quite a regular
Quite a regular


See User information
@jabirulo

I sent you a private message.

Go to top
Re: UAE JIT BETA 2
Just can't stay away
Just can't stay away


See User information
@LiveForIt

Have you tried to add 'ppc.use_tbc=false' in .uaerc?
Can you mark&paste here your timebase/eclock value?

without 'ppc.use_tbc=false':
E-UAE 0.8.29-PPCJITBETA02
..
Calibrating timebase...
Timebase frequency: 296.143080 MHz
..


with 'ppc.use_tbc=false':
E-UAE 0.8.29-PPCJITBETA02
..
EClock frequency:1155.000010 MHz

Go to top
Re: UAE JIT BETA 2
Home away from home
Home away from home


See User information
@jabirulo

Yes I have use_tbc=false.

# Example UAE configuration
#
# Lines beginning with a '#' are comments

# Path to file containing Kickstart ROM image
kickstart_rom_file=sys:Emulation/AmigaROMs/Kickstart-A1200-40.68.rom

filesystem2
=rw,dh0:workbench:work:UAE-HD/workbench,1
filesystem2
=rw,dh1:work:work:UAE-HD/work,0

# If you have an encrypted ROM image from Amiga forever,
# this is a path to the key file
kickstart_key_file=rom.key

# Default path where floppy disk images may be found
amiga.floppy_path=PROGDIR:Floppies

#Show status LEDs on emulator screen
show_leds=true

# Enable floppy drives 2 & 3
floppy1=off
#floppy2type=0
#floppy3type=0

# Speed of floppy drives; 100 is normal speed (most compatible), 800 is fastest speed (least compatible)
floppy_speed=800

# Joystick port emulation; none, mouse, joy0, joy1, kbd1, kbd2, kbd3
joyport0=mouse
joyport1
=kbd2
#joyport1=joy1

# CPU type to emulate

enable_jit=yes
cpu_speed
=max
cpu_type
=68020 
cpu_compatible
=false
cpu_cycle_exact
=false
blitter_cycle_exact
=false
comp_optimize
=no (see Known issues)
cachesize=8192 (or higher)
comp_constjump=yes
comp_trustbyte
=indirect (see Known issues)
comp_trustword=indirect
comp_trustlong
=indirect

cachesize
=16384

cpu_type
=68EC020/68881
#cpu_type=68040

# CPU compatibility (true is slower)
cpu_24bit_addressing=false

# CPU emulation speed
# real = approx A500 speed. max = CPU emulation will run as fast as it can
cpu_speed=max

# Amiga chipset to emulate
# Can be ocs, ecs or aga

chipset=aga
immediate_blits
=false
blitter_cycle_exact
=false

# Collision detection; none, sprites, playfields, full
#collision_level=playfields
collision_level=none

# Amount of chip memory to emulate
# in multiples of 512K. Thus chipmem=4 is 2MB
chipmem_size=4
bogomem_size
=0

# Amount of fast memory to emulate in MB
fastmem_size=8
z3mem_size
=32

# Sound output; none, interrupts, normal, exact
sound_output=normal
#sound_output=interrupts

# Sound channels; mono, stereo, mixed
sound_channels=mono

# Frequency of emulated sound output in Hz
sound_frequency=44100

# Sound buffer size in bytes, default 8192
sound_max_buff=8192
sound_latency
=120

# Prompt for screen mode to use; public, custom, ask
amiga.screen_type=custom
amiga
.publicscreen=

gfx_fullscreen_amiga=true

# Don't dither
amiga.use_dither=false

# Set frame skipping (1=show all frames, 2=show every 2nd frame, 3=show every 3rd frame, etc)
gfx_framerate=2

# Display settings
#gfx_width_windowed=640
#gfx_height_windowed=480
gfx_lores=false
gfx_linemode
=double
gfx_correct_aspect
=no
gfx_center_horizontal
=smart
gfx_center_vertical
=smart


# Miscellaneous
use_debugger=no
ppc
.use_tbc=false

# Full floppy drive noises
floppy0sound=0

# Additional settings
#RUNINUAE: SCREENMODE=ScreenMode_HiRes.prefs


EClock frequency:66.666666 MHz

Current stack size is 503.800 bytes
6.System
:> cd System:Emulation/E-UAE_0.8.29-PPCJITBETA02_AmigaOS4/
6.System:Emulation/E-UAE_0.8.29-PPCJITBETA02_AmigaOS4uae
E
-UAE 0.8.29-PPCJITBETA02
Build date
Mar  9 2014 14:20:46
Found 0 joysticks
Opening cfgfile 
'.uaerc'...okay.
unknown config entry'enable_jit=yes'
Option `comp_optimize' requires a value of either `yes' or `no'.
Option `cachesize' requires a numeric argument.
unknown config entry: 'comp_trustbyte=indirect (see Known issues)'
unknown config entry: 'sound_max_buff=8192'
unknown config entry: 'floppy0sound=0'
EClock frequency:66.666666 MHz
Rexx port "UAE" installed.
No disk in drive 0.
Resetting frame rate hack
Building CPU table for configuration: 68020/881
1866 CPU functions
Building CPU function table, 45954 opcodes (3 0 0).
JIT: Building compiler function table.
JIT: Allocation of translation cache...
JIT: Translation cache size in prefs: 16384
JIT: Allocated 16384 KB translation cache.
Resetting frame rate hack
AMIGFX: Using a 16-bit true-colour display.
Sound driver found and configured for mono at 44100 Hz, buffer is 10584 bytes.
reset at 0
JIT: Compiling reset
JIT: Change cache emulation: disabled
PAL mode, 50Hz (h=227 v=312)
chipmem cleared
SERIAL: period=372, baud=9600, hsyncs=16 PC=f8018a
JIT: Change cache emulation: enabled
JIT: Change cache emulation: enabled
Fastcard: mapped @$200000: 8MB fast memory
   Card 1 (ZorroII) done.
Fastmem (32bit): mapped @$10000000: 32 MB Zorro III fast memory 
   Card 2 (ZorroIII) done.
Filesystem: mapped memory @
$e90000.
   Card 3 (ZorroII) done.



there is nothing about "Calibrating timebase" in my EUAE log.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: UAE JIT BETA 2
Just can't stay away
Just can't stay away


See User information
@LiveForIt
Remove the "comments" '(see Known issues)' and '(or higher)'
comp_optimize=no
cachesize
=8192
comp_constjump
=yes 
comp_trustbyte
=indirect

comment out (stay with plain 68020 cpu):
#cpu_type=68EC020/68881

And what happens if you don't set (comment out) 'ppc.use_tbc=false' on your X1000? Just for courosity.

Go to top
Re: UAE JIT BETA 2
Home away from home
Home away from home


See User information
@jabirulo

Here is the result:

Removed comment... strange I did not notice that, guess I copied the .uaerc file from some where.

Removing the comment made no difference.

Setting the CPU to 68020 and I get 4674

Setting ppc.uae_tbc=true.

Enabled the calibration.
and now SysInfo says I have 700 Mhz, before it was 7Mhz.

Dystones goes up to 4765.

Changing the CPU back to what it was 68EC020/68881.

Gave me 4857 Dystones.

The EClock frequency stays the same 66.666666 Mhz.


Edited by LiveForIt on 2014/3/19 20:06:18
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: UAE JIT BETA 2
Just can't stay away
Just can't stay away


See User information
@LiveForIt

Well here on my SAM460ex, testing with SysInfo 4.0 (http://sysinfo.d0.se) get ~20000 Dhrystones!!!! Strange that you get such value.

My .uaerc file:
#  UAE Configuration File
#  Created with UAE Config for OS4
#  By Scott A. Cabit
#
# lCTRL+lALT+Q para salir de UAE
#
kickstart_rom_file=kick3.1.rom
joyport0
=mouse
joyport1
=kbd1
#floppy0=WB_30.adf
#hardfile=rw,8192,2,1,512,DH8:hardfile01
#filesystem1=ro,CD0:CD0:
#filesystem=rw,MAMA:OS3
#cpu_type=68020
chipset=AGA
#cpu_speed=max
#cpu_compatible=yes
cpu_24bit_addressing=no
chipmem_size
=4
fastmem_size
=8
gfx_width
=640
gfx_height
=512
#gfx_linemode=scanlines
#gfx_correct_aspect=yes
#gfxcard_size=4
gfx_center_vertical=true
gfx_center_horizontal
=true
#gfx_fullscreen_amiga=true
#gfx_fullscreen_picasso=yes
sound_output=normal
#amiga.screen_type=ask
show_leds=yes
#gfx_framerate=2
#enable_jit=yes
cpu_speed=max
cpu_type
=68020
cpu_compatible
=false
cpu_cycle_exact
=false
blitter_cycle_exact
=false
comp_optimize
=no
cachesize
=8192
comp_constjump
=yes
comp_trustbyte
=indirect
comp_trustword
=indirect
comp_trustlong
=indirect
#ppc.use_tbc=false


And 'Timebase frequency: 1155.000010 MHz'


Edited by jabirulo on 2014/3/19 23:24:45
Go to top
Re: UAE JIT BETA 2
Just can't stay away
Just can't stay away


See User information
@MickJT

Great now I get (with both versions):
..
Timebase frequency: 1155.000010 MHz
..



BTW SDL seems faster, but just maybe a feelling

Go to top
Re: UAE JIT BETA 2
Home away from home
Home away from home


See User information
@jabirulo

Yes is strange thing about TimeBase frequence I don't know if this is calculated or if this what it reads from Timer.Device :-/

As for slow JIT preperformance, I think thats because of what I wrote before, but maybe there is some thing strange going on, whit Timer.device.

I'm not so shore anymore, should it not be 1800 Mhz on X1000? Or what is the correct value?

Yes the Picasso96 video modes will be faster then AGA modes, 1 to 1 emulation, instead of having to do planar to chunky concertion + cooper emulation on the palette while converting it into native videomode, or what ever it does.

I'm shore the AGA emulation is efficient, but not as efficient as native video modes.


Edited by LiveForIt on 2014/3/20 0:57:17
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: UAE JIT BETA 2
Just can't stay away
Just can't stay away


See User information
@LiveForIt
Yep, timer calculation seems odd on X1000, maybe someone can fix it.
MickJT?
Anyone with X1000 can post timebase/SysInfo results?

Go to top
Re: UAE JIT BETA 2
Home away from home
Home away from home


See User information
@jabirulo

Shame I can't get EUAE compiling under AmigaOS4, I think every one is using cross compilers.


Hemmm...

I guess I can take some code snippets and experiment. Whit out compiling every thing.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: UAE JIT BETA 2
Quite a regular
Quite a regular


See User information
@LiveForIt

Do you get the same frequency issue (66mhz) with beta 1, or with any other version of e-uae, when ppc.use_tbc is false? Is the frequency calculated correctly if you use the non-JIT versions of e-uae and ppc.use_tbc=true ? Try with the version that comes with RunInUAE.

I know that on my sam440ep-flex, in versions of e-uae PPC JIT prior to beta 2 (beta 2 specifically detects a sam440 or amigaone, but not 460/x1000), if I didn't have ppc.use_tbc=false, the frequency would be calculated wrong and the JIT would be much slower. In my experience it definitely affects the JIT speed.

Looks like a define will need to be made for X1000, but someone else will have to figure out what to do for that. You could probably hardcode a figure that assumes all X1000 CPUs are the same speed (which afaik is true for now).

I have sent you a couple of private messages.

Go to top

  Register To Post
(1) 2 3 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project