URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 156 |
Rev 816 |
# Single shift @OC@ test
|
# Single shift @OC@ test
|
|
|
# reg,reg
|
# reg,reg
|
@OC@ r0,r1
|
@OC@ r0,r1
|
@OC@ fp,sp
|
@OC@ fp,sp
|
|
|
# shimm values
|
# shimm values
|
@OC@ r0,0
|
@OC@ r0,0
|
@OC@ r1,-1
|
@OC@ r1,-1
|
@OC@ 0,r2
|
@OC@ 0,r2
|
@OC@ -1,r3
|
@OC@ -1,r3
|
@OC@ r4,255
|
@OC@ r4,255
|
@OC@ 255,r5
|
@OC@ 255,r5
|
@OC@ r6,-256
|
@OC@ r6,-256
|
@OC@ -256,r7
|
@OC@ -256,r7
|
|
|
# limm values
|
# limm values
|
@OC@ r8,256
|
@OC@ r8,256
|
@OC@ r9,-257
|
@OC@ r9,-257
|
@OC@ 511,r10
|
@OC@ 511,r10
|
@OC@ r11,0x42424242
|
@OC@ r11,0x42424242
|
@OC@ 0x12345678,r12
|
@OC@ 0x12345678,r12
|
|
|
# shimm and limm
|
# shimm and limm
|
@OC@ 255,256
|
@OC@ 255,256
|
@OC@ 256,255
|
@OC@ 256,255
|
|
|
# symbols
|
# symbols
|
@OC@ r0,foo
|
@OC@ r0,foo
|
|
|
# conditional execution
|
# conditional execution
|
@OC@.eq r10,r11
|
@OC@.eq r10,r11
|
@OC@.ne r12,r13
|
@OC@.ne r12,r13
|
@OC@.lt r14,0
|
@OC@.lt r14,0
|
@OC@.gt r15,512
|
@OC@.gt r15,512
|
|
|
# flag setting
|
# flag setting
|
@OC@.f r0,r1
|
@OC@.f r0,r1
|
@OC@.f r2,1
|
@OC@.f r2,1
|
@OC@.f 0,r4
|
@OC@.f 0,r4
|
@OC@.f r5,512
|
@OC@.f r5,512
|
@OC@.f 512,r6
|
@OC@.f 512,r6
|
@OC@.f 512,512
|
@OC@.f 512,512
|
|
|
# conditional execution + flag setting
|
# conditional execution + flag setting
|
@OC@.eq.f r0,r1
|
@OC@.eq.f r0,r1
|
@OC@.ne.f r1,0
|
@OC@.ne.f r1,0
|
@OC@.lt.f 0,r2
|
@OC@.lt.f 0,r2
|
@OC@.gt.f 1,r2
|
@OC@.gt.f 1,r2
|
@OC@.le.f r0,512
|
@OC@.le.f r0,512
|
@OC@.ge.f 512,r2
|
@OC@.ge.f 512,r2
|
@OC@.n.f 512,512
|
@OC@.n.f 512,512
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.