OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /open8_urisc
    from Rev 128 to Rev 129
    Reverse comparison

Rev 128 → Rev 129

/trunk/gnu/binutils/gas/testsuite/gas/sparc-solaris/addend.s
0,0 → 1,11
.global foo
foo:
nop
nop
ba foo1+0x4
ba foo1+0x4
ba foo1
ba foo1
nop
.word foo1
.word foo1+4
/trunk/gnu/binutils/gas/testsuite/gas/sparc-solaris/sol-cc.s
0,0 → 1,81
.section ".text" ! [internal]
.proc 4
.global main
.align 4
.global main
main:
!#PROLOGUE# 0
!#PROLOGUE# 1
save %sp,-96,%sp
sethi %hi(.L18),%o0
sethi %hi(msg),%o1
or %o1,%lo(msg),%o1 ! [internal]
call printf,2
or %o0,%lo(.L18),%o0 ! [internal]
ret
restore %g0,0,%o0
.type main,#function
.size main,(.-main)
.section ".data" ! [internal]
.align 4
Ddata.data:
.section ".bss" ! [internal]
Bbss.bss:
.section ".rodata" ! [internal]
Drodata.rodata:
.file "hi-sol.c"
.global msg
.global msg
msg:
.ascii "hello, world!\0"
.type msg,#object
.size msg,14
.section ".data1", #write, #alloc ! [internal]
.align 4
.L18:
.ascii "%s\n\0"
.ident "acomp: (CDS) SPARCompilers 2.0.1 03 Sep 1992"
.section "text" ! [internal]
.stabs "/cygint/s1/users/raeburn/",100,0,0,0
.stabs "hi-sol.c",100,0,3,0
.stabs "",56,0,0,0
.stabs "",56,0,0,0
.stabs "Xt ; g ; O ; V=2.0",60,0,0,0x2bb773ba
.stabs "char:t(0,1)=bsc1;0;8;",128,0,0,0
.stabs "short:t(0,2)=bs2;0;16;",128,0,0,0
.stabs "int:t(0,3)=bs4;0;32;",128,0,0,0
.stabs "long:t(0,4)=bs4;0;32;",128,0,0,0
.stabs "long long:t(0,5)=bs8;0;64;",128,0,0,0
.stabs "signed char:t(0,6)=bsc1;0;8;",128,0,0,0
.stabs "signed short:t(0,7)=bs2;0;16;",128,0,0,0
.stabs "signed int:t(0,8)=bs4;0;32;",128,0,0,0
.stabs "signed long:t(0,9)=bs4;0;32;",128,0,0,0
.stabs "signed long long:t(0,10)=bs8;0;64;",128,0,0,0
.stabs "unsigned char:t(0,11)=buc1;0;8;",128,0,0,0
.stabs "unsigned short:t(0,12)=bu2;0;16;",128,0,0,0
.stabs "unsigned int:t(0,13)=bu4;0;32;",128,0,0,0
.stabs "unsigned long:t(0,14)=bu4;0;32;",128,0,0,0
.stabs "unsigned long long:t(0,15)=bu8;0;64;",128,0,0,0
.stabs "float:t(0,16)=R1;4;",128,0,0,0
.stabs "double:t(0,17)=R2;8;",128,0,0,0
.stabs "long double:t(0,18)=R6;16;",128,0,0,0
.stabs "void:t(0,19)=bs0;0;0",128,0,0,0
.stabs "msg:G(0,20)=ar(0,3);0;13;(0,1)",32,0,14,0
.stabs "main:F(0,3);(0,3);(0,21)=*(0,22)=*(0,1)",36,0,0,main
.stabs "main",42,0,0,0
.stabn 192,0,1,0
.stabn 68,0,4,0
.stabs "argc:p(0,3)",160,0,4,68
.stabs "argv:p(0,21)",160,0,4,72
.stabs "printf:P(0,3)",36,0,0,0
.stabn 224,0,1,0
.stabs "",98,0,0,0
.section "text" ! [internal]
.xstabs ".stab.index","/cygint/s1/users/raeburn/",100,0,0,0
.xstabs ".stab.index","hi-sol.c",100,0,3,0
.xstabs ".stab.index","",56,0,0,0
.xstabs ".stab.index","",56,0,0,0
.xstabs ".stab.index","Xt ; g ; O ; V=2.0",60,0,0,0x2bb773ba
.xstabs ".stab.index","msg",32,0,0,0
.xstabs ".stab.index","main",42,0,0,0
.xstabs ".stab.index","main",36,0,0,0
/trunk/gnu/binutils/gas/testsuite/gas/sparc-solaris/gas.exp
0,0 → 1,10
#
# Solaris-2 on SPARC tests
#
# The two compilers, cc and gcc, generate quite different debugging
# records. Verify that we can accept both.
#
if [istarget sparc-*-solaris2*] then {
gas_test "sol-cc.s" "" $stdoptlist "SPARC Solaris cc -g"
gas_test "sol-gcc.s" "" $stdoptlist "SPARC Solaris gcc -g"
}
/trunk/gnu/binutils/gas/testsuite/gas/sparc-solaris/sol-gcc.s
0,0 → 1,66
.file "hi-sol.c"
.stabs "/1h/devo/src/gas/testsuite/gas/",100,0,0,.LLtext0
.stabs "hi-sol.c",100,0,0,.LLtext0
.section ".text"
.LLtext0:
.stabs "gcc2_compiled.", 0x3c, 0, 0, 0
.stabs "int:t1=r1;-2147483648;2147483647;",128,0,0,0
.stabs "char:t2=r2;0;127;",128,0,0,0
.stabs "long int:t3=r1;-2147483648;2147483647;",128,0,0,0
.stabs "unsigned int:t4=r1;0;-1;",128,0,0,0
.stabs "long unsigned int:t5=r1;0;-1;",128,0,0,0
.stabs "short int:t6=r1;-32768;32767;",128,0,0,0
.stabs "long long int:t7=r1;0;-1;",128,0,0,0
.stabs "short unsigned int:t8=r1;0;65535;",128,0,0,0
.stabs "long long unsigned int:t9=r1;0;-1;",128,0,0,0
.stabs "signed char:t10=r1;-128;127;",128,0,0,0
.stabs "unsigned char:t11=r1;0;255;",128,0,0,0
.stabs "float:t12=r1;4;0;",128,0,0,0
.stabs "double:t13=r1;8;0;",128,0,0,0
.stabs "long double:t14=r1;8;0;",128,0,0,0
.stabs "void:t15=15",128,0,0,0
.stabs "msg:G16=ar1;0;13;2",32,0,0,0
.global msg
.section ".rodata"
.align 8
.type msg,#object
.size msg,14
msg:
.asciz "hello, world!"
.align 8
.LLC0:
.asciz "%s\n"
.section ".text"
.align 4
.stabs "main:F1",36,0,0,main
.stabs "argc:P1",64,0,0,24
.stabs "argv:P17=*18=*2",64,0,0,25
.global main
.type main,#function
.proc 04
main:
.stabn 68,0,4,.LM1-main
.LM1:
!#PROLOGUE# 0
save %sp,-112,%sp
!#PROLOGUE# 1
.stabn 68,0,5,.LM2-main
.LM2:
.LLBB2:
sethi %hi(.LLC0),%o0
or %o0,%lo(.LLC0),%o0
sethi %hi(msg),%o1
call printf,0
or %o1,%lo(msg),%o1
.stabn 68,0,6,.LM3-main
.LM3:
.stabn 68,0,7,.LM4-main
.LM4:
.LLBE2:
ret
restore %g0,0,%o0
.LLfe1:
.size main,.LLfe1-main
.stabn 192,0,0,.LLBB2-main
.stabn 224,0,0,.LLBE2-main
.ident "GCC: (GNU) cygnus-2.3.3"
/trunk/gnu/binutils/gas/testsuite/gas/sparc-solaris/addend.exp
0,0 → 1,36
#
# Solaris on SPARC tests
#
 
if [istarget sparc*-*-solaris2*] then {
set x1 0
set x2 0
set x3 0
set x4 0
set x5 0
set x6 0
set testname "addends (part 2)"
if [gas_test_old "addend.s" "" "addends (part 1)"] then {
objdump_start_no_subdir "a.out" "-r"
while 1 {
# These are what we get using the Solaris assembler.
expect {
-re "08 R_SPARC_WDISP22 +foo1\[+\]+0x0+04\[^\n\]*\n" { incr x1 }
-re "0c R_SPARC_WDISP22 +foo1\[+\]+0x0+04\[^\n\]*\n" { incr x2 }
-re "10 R_SPARC_WDISP22 +foo1\[^\n\]*\n" { incr x3 }
-re "14 R_SPARC_WDISP22 +foo1\[^\n\]*\n" { incr x4 }
-re "1c R_SPARC_32 +foo1\[^\n\]*\n" { incr x5 }
-re "20 R_SPARC_32 +foo1\[+\]+0x0+04\[^\n\]*\n" { incr x6 }
-re "\[^\n\]*\n" { }
timeout { perror "timeout\n"; break }
eof { break }
}
}
objdump_finish
if [all_ones $x1 $x2 $x3 $x4 $x5 $x6] then {
pass $testname
} else {
fail $testname
}
}
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.