<html><head></head><body bgcolor="#FFFFFF"><div>For data load we can still use double float, so it is named as D16 rather than S16. S16 is only limited on arithmetic operation, so 'sp' is used in the name. The name fpv4-sp-d16 is a conjunctive result.</div><div><br></div><div>In arm.td, I see the code below,</div><div><br></div><div><span class="Apple-style-span" style="font-family: '.Helvetica NeueUI'; font-size: 15px; -webkit-text-size-adjust: none; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><div>// V7EM Processors.</div><div>def : ProcNoItin<"cortex-m4",       [HasV7Ops,</div><div>                                     FeatureThumb2, FeatureNoARM, FeatureDB,</div><div>                                     FeatureHWDiv, FeatureDSPThumb2,</div><div>                                     FeatureT2XtPk, FeatureVFP2,</div><div>                                     FeatureVFPOnlySP, FeatureMClass]>;</div><div><br></div><div>So FeatureVFPOnlySP should already be there. Did I misunderstand your point?</div></span><br></div><div>Thanks,<div>-Jiangning</div></div><div><br>在 2012-7-27,下午7:01,Renato Golin <<a href="mailto:rengolin@systemcall.org">rengolin@systemcall.org</a>> 写道:<br><br></div><div></div><blockquote type="cite"><div><span>On 27 July 2012 03:12, Jiangning Liu <<a href="mailto:jiangning.liu@arm.com">jiangning.liu@arm.com</a>> wrote:</span><br><blockquote type="cite"><span>Hopefully this can answer your question.</span><br></blockquote><span></span><br><span>Maybe indirectly, it does. If I got it right, they're named</span><br><span>differently (S16 vs. D32) to be able to do the same thing differently,</span><br><span>though the major name (VFPv4) is the same, to allow us to infer that</span><br><span>most instructions will be the same (single-precision ones, that is).</span><br><span></span><br><span>I think, from a global point of view, it's safe to assume S16 == (D32</span><br><span>- double-precision instructions), and whatever difference can be coded</span><br><span>as a new SP-only instruction, enabled by the FeatureVFPOnlySP flag.</span><br><span></span><br><span>Jiangning, from a historical point of view, I think it'd be safer to</span><br><span>add the FeatureVFPOnlySP flag now, even if inactive, so that people</span><br><span>don't assume anything when adding instructions to VFPv4. Jim, do you</span><br><span>think that'd be overkill?</span><br><span></span><br><span>-- </span><br><span>cheers,</span><br><span>--renato</span><br><span></span><br><span><a href="http://systemcall.org/">http://systemcall.org/</a></span><br></div></blockquote></body></html>