mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
[ARM] Don't print "Requires NEON" error message for M-profile
Differential Revision: https://reviews.llvm.org/D43125 llvm-svn: 325000
This commit is contained in:
parent
d5c239c13b
commit
c6aad1560b
@ -10230,6 +10230,8 @@ ARMAsmParser::FilterNearMisses(SmallVectorImpl<NearMissInfo> &NearMissesIn,
|
||||
if (!isThumb() && (MissingFeatures & Feature_IsThumb2) &&
|
||||
(MissingFeatures & ~(Feature_IsThumb2 | Feature_IsThumb)))
|
||||
break;
|
||||
if (isMClass() && (MissingFeatures & Feature_HasNEON))
|
||||
break;
|
||||
|
||||
NearMissMessage Message;
|
||||
Message.Loc = IDLoc;
|
||||
|
@ -23,7 +23,7 @@ vfma.f32 d16, d18, d17
|
||||
|
||||
@ ARM: vfma.f32 q2, q4, q0 @ encoding: [0x50,0x4c,0x08,0xf2]
|
||||
@ THUMB: vfma.f32 q2, q4, q0 @ encoding: [0x08,0xef,0x50,0x4c]
|
||||
@ THUMB_V7EM-ERRORS: error: instruction requires: NEON
|
||||
@ THUMB_V7EM-ERRORS: error: invalid instruction
|
||||
@ THUMB_V7EM-ERRORS-NEXT: vfma.f32 q2, q4, q0
|
||||
vfma.f32 q2, q4, q0
|
||||
|
||||
@ -57,7 +57,7 @@ vfms.f32 d16, d18, d17
|
||||
|
||||
@ ARM: vfms.f32 q2, q4, q0 @ encoding: [0x50,0x4c,0x28,0xf2]
|
||||
@ THUMB: vfms.f32 q2, q4, q0 @ encoding: [0x28,0xef,0x50,0x4c]
|
||||
@ THUMB_V7EM-ERRORS: error: instruction requires: NEON
|
||||
@ THUMB_V7EM-ERRORS: error: invalid instruction
|
||||
@ THUMB_V7EM-ERRORS-NEXT: vfms.f32 q2, q4, q0
|
||||
vfms.f32 q2, q4, q0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user