linyv opened a new issue, #12746:
URL: https://github.com/apache/tvm/issues/12746

   Thanks for participating in the TVM community! We use https://discuss.tvm.ai 
for any general usage questions and discussions. The issue tracker is used for 
actionable items such as feature proposals discussion, roadmaps, and bug 
tracking.  You are always welcomed to post on the forum first :smile_cat:
   
   Issues that are inactive for a period of time may get closed. We adopt this 
policy so that we won't lose track of actionable issues that may fall at the 
bottom of the pile. Feel free to reopen a new one if you feel there is an 
additional problem that needs attention when an old one gets closed.
   
   ### Expected behavior
   
   build hexagon_launcher
   
   ### Actual behavior
   
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
                                                                                
                  
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
                                                                                
                   
   
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:29:16:
 error: invalid instruction                                                     
                         
     asm volatile(" %0 = dmpause" : "=r"(dm0));                                 
                                                                                
                                               
                  ^                                                             
                                                                                
                                               
   <inline asm>:1:3: note: instantiated into assembly here                      
                                                                                
                                               
            r2 = dmpause                                                        
                                                                                
                                               
            ^                                                                   
                                                                                
                                               
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
                                                                                
                  
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
                                                                                
                   
   
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:33:48:
 error: invalid instruction                                                     
                         
   inline void dmstart(void* next) { asm volatile(" dmstart(%0)" : : 
"r"(next)); }                                                                   
                                                          
                                                  ^                             
                                                                                
                                               
   <inline asm>:1:3: note: instantiated into assembly here                      
                                                                                
                                               
            dmstart(r2)                                                         
                                                                                
                                               
            ^                                                                   
                                                                                
                                               
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
                                                                                
                  
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
                                                                                
                   
   
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:36:16:
 error: invalid instruction                                                     
                         
     asm volatile(" dmlink(%0, %1)" : : "r"(tail), "r"(next));                  
                                                                                
                                               
                  ^                                                             
                                                                                
                                               
   <inline asm>:1:3: note: instantiated into assembly here                      
                                                                                
                                               
            dmlink(r3, r2)                                                      
                                                                                
                                               
            ^                                                                   
                                                                                
                                               
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
                                                                                
                  
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
                                                                                
                   
   
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:41:16:
 error: invalid instruction                                                     
                         
     asm volatile(" %0 = dmpoll" : "=r"(dm0));                                  
                                                                                
                                               
                  ^                                                             
                                                                                
                                               
   <inline asm>:1:3: note: instantiated into assembly here                      
                                                                                
                                               
            r2 = dmpoll                                                         
                                                                                
                                               
            ^                                                                   
                                                                                
                                               
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
                                                                                
                  
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
                                                                                
                   
   
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:41:16:
 error: invalid instruction                                                     
                         
     asm volatile(" %0 = dmpoll" : "=r"(dm0));                                  
                                                                                
                                               
                  ^                                                             
                                                                                
                                               
   <inline asm>:1:3: note: instantiated into assembly here                      
                                                                                
                                               
            r2 = dmpoll                                                         
                                                                                
                                               
            ^                                                                   
                                                                                
                                               
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
                                                                                
                  
   In file included from 
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
                                                                                
                   
   
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:41:16:
 error: invalid instruction                                                     
                         
     asm volatile(" %0 = dmpoll" : "=r"(dm0));                                  
                                                                                
                                               
                  ^                                                             
                                                                                
                                               
   <inline asm>:1:3: note: instantiated into assembly here                      
                                                                                
                                               
            r2 = dmpoll                                                         
        
   
   ### Environment
   
   TVM: mian branch
   OS: ubuntu 18.04
   Clang: 11.0.0
   Hexagon_sdk: 4.5.0.3
   
   ### Steps to reproduce
   
   Preferably a minimal script to cause the issue to occur.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to