<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - ARM backend emitting vfp/neon instructions while features disabled"
   href="https://llvm.org/bugs/show_bug.cgi?id=25818">25818</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ARM backend emitting vfp/neon instructions while features disabled
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: ARM
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>llvm@shortepic.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Compiling with rustc-nightly (81ae8be71 2015-12-09), and the following target
definition containing (selected):

    "arch": "arm",
    "cpu": "cortex-a8",
    "fpu": "none",
    "data-layout":
"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:64-v128:64:128-a:0:32-n32-S64",
    "disable-redzone": true,
    "executables": true,
    "llvm-target": "arm-none-eabi",
    "os": "none",
    "target-endian": "little",
    "target-word-size": "32",
    "target-pointer-width": "32",
    "no-compiler-rt" : true,
    "has-floating-point" : false,
    "features" : "-fp16,-d16,-vfp2,-vfp3,-vfp4,-neon,-fp-only-sp",

rustc is emitting v* instructions:

    106c0:    edd00b00     vldr    d16, [r0]
    106c4:    ed4b0b08     vstr    d16, [fp, #-32]    ; 0xffffffe0
    106c8:    edd00b02     vldr    d16, [r0, #8]
    106cc:    ed4b0b0a     vstr    d16, [fp, #-40]    ; 0xffffffd8
    106d0:    e5900010     ldr    r0, [r0, #16]
    106d4:    e50b002c     str    r0, [fp, #-44]    ; 0x2c
    106d8:    ed5b0b08     vldr    d16, [fp, #-32]    ; 0xffffffe0
    106dc:    edcd0b0a     vstr    d16, [sp, #40]    ; 0x28

I'd like to suppress those when generating kernel code and I understand
negating features to be the basis for doing that. Can a maintainer please give
me a sense whether this is intended behaviour? 

(So sorry I don't have the skills to isolate this closer to llvm..)

Regards, Alister.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>