sch-before.s
资源名称:windlx.rar [点击查看]
上传用户:wecan5
上传日期:2021-07-24
资源大小:529k
文件大小:1k
源码类别:
模拟服务器
开发平台:
C/C++
- ;-------------------------------------------------------------------
- ; Example to illustrate instruction scheduling
- ;-------------------------------------------------------------------
- .data
- .global ONE
- ONE: .word 1
- .text
- .global main
- main:
- lf f1,ONE ;turn divf into a move
- cvti2f f7,f1 ;by storing in f7 1 in
- nop ;floating-point format
- divf f1,f8,f7 ;move Y=(f8) into f1
- divf f2,f9,f7 ;move Z=(f9) into f2
- addf f3,f1,f2
- divf f10,f3,f7 ;move f3 into X=(f10)
- divf f4,f11,f7 ;move B=(f11) into f4
- divf f5,f12,f7 ;move C=(f12) into f5
- multf f6,f4,f5
- divf f13,f6,f7 ;move f6 into A=(f13)
- Finish:
- trap 0