https://bugs.llvm.org/show_bug.cgi?id=45353

            Bug ID: 45353
           Summary: Deprecated instruction in arch v8r?
           Product: new-bugs
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: 499537...@qq.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org

Created attachment 23292
  --> https://bugs.llvm.org/attachment.cgi?id=23292&action=edit
Input file

Compiling with the command will generate 2 warnings. When the assembly file .s
is checked, it is found that there are deprecated instructions for the
architecture v8r. Actually this deprecated instruction was generated by
ourselves.

Command: clang -c -Wall --target=arm-none-eabi -mcpu=cortex-r52
-mfpu=fpv5-sp-d16 -mthumb  -fshort-enums -Os -save-temps ee_cortex_r_hal.i

ee_cortex_r_hal.s:150:2: warning: deprecated instruction in IT block
        movhi.w r0, #384
        ^
ee_cortex_r_hal.s:191:2: warning: deprecated instruction in IT block
        movhi.w r0, #640

$ clang --version
4.0.0 clang version 8.0.1 (based on LLVM 8.0.1)
Target: aarch64-unknown-linux-gnu
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to