diff options
Diffstat (limited to 'gas/testsuite/gas/visium/fcmp.s')
-rw-r--r-- | gas/testsuite/gas/visium/fcmp.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/testsuite/gas/visium/fcmp.s b/gas/testsuite/gas/visium/fcmp.s new file mode 100644 index 00000000000..713af4fa938 --- /dev/null +++ b/gas/testsuite/gas/visium/fcmp.s @@ -0,0 +1,11 @@ +; Test error messages for new syntax of FCMP/FCMPE + +; { dg-do assemble } +; { dg-options "-mtune=gr6" } + + .text +foo: + fcmp r1, f1, f2 ; { dg-error "can only use r0 as Dest register" } + fcmp r0, f1, f2 + fcmp f1, f2 + .end |