Quantcast
Channel: C6000™多核 - 最近的话题
Viewing all articles
Browse latest Browse all 5545

C6000汇编优化,线性汇编流水结果输出

$
0
0

最近在做线性汇编优化,之前看到一份文档。里面提到可以输出文件的汇编文件.asm,里面的SOFTWARE PIPELINE INFORMATION可以给出8个运算单元.D1.D2.L1.L2.S1.S2的使用情况,但我也照文档中说的配置了选择了Assembler Options->“Keep the generated assembly language”,source interlist 也选择了

Generate interlisted assembly file 。但虽然输出了.asm的结果,但里面没有类似这样的结果

OFTWARE PIPELINE INFORMATION

;*

;*      Loop found in file               : test.sa

;*      Loop source line                 : 66

;*      Loop closing brace source line   : 95

;*      Known Minimum Trip Count         : 1                   

;*      Known Maximum Trip Count         : 2                   

;*      Known Max Trip Count Factor      : 1

;*      Loop Carried Dependency Bound(^) : 0

;*      Unpartitioned Resource Bound     : 3

;*      Partitioned Resource Bound(*)    : 6

;*      Resource Partition:

;*                                A-side   B-side

;*      .L units                     0        0    

;*      .S units                     4        0    

;*      .D units                     3        3    

;*      .M units                     4        0    

;*      .X cross paths               2        0    

;*      .T address paths             6*       6*   

;*      Long read paths              0        0    

;*      Long write paths             0        0    

;*      Logical  ops (.LS)           2        0     (.L or .S unit)

;*      Addition ops (.LSD)          4        0     (.L or .S or .D unit)

;*      Bound(.L .S .LS)             3        0    

;*      Bound(.L .S .D .LS .LSD)     5        1    

;*

;*      Searching for software pipeline schedule at ...

;*         ii = 6  Schedule found with 3 iterations in parallel

;*      Done

;*

;*      Loop will be splooped

;*      Collapsed epilog stages       : 0

;*      Collapsed prolog stages       : 0

;*      Minimum required memory pad   : 0 bytes

;*      Minimum safe trip count       : 1

请问应该如何配置,能够输出这些结果


Viewing all articles
Browse latest Browse all 5545

Trending Articles