diff options
author | Jan Beulich <jbeulich@novell.com> | 2019-06-25 09:22:38 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-06-25 09:35:17 +0200 |
commit | 2a410bd1c373d377c221476ccda2156b595e6d6b (patch) | |
tree | 8eb98aa23c161c63c548f66e24df27fdda3f1352 /gas | |
parent | de62696504f96816faf2165132d907924e904649 (diff) | |
download | fsf-binutils-gdb-2a410bd1c373d377c221476ccda2156b595e6d6b.zip fsf-binutils-gdb-2a410bd1c373d377c221476ccda2156b595e6d6b.tar.gz fsf-binutils-gdb-2a410bd1c373d377c221476ccda2156b595e6d6b.tar.bz2 |
x86: add CVT{,T}PS2PI cases to xmmwords test
I've (not so) recently noticed this further pair which should be tested
here.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/xmmword.l | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/xmmword.s | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c7dc37d..41400b4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2019-06-25 Jan Beulich <jbeulich@suse.com> + + * testsuite/gas/i386/xmmword.s: Add cvtps2pi and cvttps2pi + tests. + * testsuite/gas/i386/xmmword.l: Adjust expectations. + 2019-06-25 Alan Modra <amodra@gmail.com> * config/tc-ppc.c (ppc_handle_align): Add parentheses. diff --git a/gas/testsuite/gas/i386/xmmword.l b/gas/testsuite/gas/i386/xmmword.l index 9703bd1..e8c89c8 100644 --- a/gas/testsuite/gas/i386/xmmword.l +++ b/gas/testsuite/gas/i386/xmmword.l @@ -109,3 +109,5 @@ .*:140: Error: .* `movq' .*:141: Error: .* `vmovq' .*:142: Error: .* `vmovq' +.*:144: Error: .* `cvtps2pi' +.*:146: Error: .* `cvttps2pi' diff --git a/gas/testsuite/gas/i386/xmmword.s b/gas/testsuite/gas/i386/xmmword.s index accdbfe..d21ffa6 100644 --- a/gas/testsuite/gas/i386/xmmword.s +++ b/gas/testsuite/gas/i386/xmmword.s @@ -140,3 +140,7 @@ xmmword: movq xmmword ptr [eax], xmm0 vmovq xmmword ptr [eax], xmm0 {evex} vmovq xmmword ptr [eax], xmm0 + + cvtps2pi mm0, xmmword ptr [eax] + + cvttps2pi mm0, xmmword ptr [eax] |