[llvm-bugs] [Bug 45353] New: Deprecated instruction in arch v8r?

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 29 19:23:40 PDT 2020


            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: unassignedbugs at nondot.org
          Reporter: 499537630 at qq.com
                CC: htmldeveloper at gmail.com, llvm-bugs at 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

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200330/812b63bf/attachment-0001.html>

More information about the llvm-bugs mailing list