]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: x86: test_FISTTP: use fisttps instead of ambiguous fisttp
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Thu, 4 Jul 2024 07:24:26 +0000 (00:24 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 11 Jul 2024 17:23:55 +0000 (11:23 -0600)
commitbf967fb39e020f4426d13e634d21283758aea3c8
tree2f10f87d07dc052d27baa45c70267a74f3528b1d
parent825658b790330ed474547d2b1f87436879ca7da6
selftests: x86: test_FISTTP: use fisttps instead of ambiguous fisttp

Use fisttps instead of fisttp to specify correctly that the output
variable is of size short.

test_FISTTP.c:28:3: error: ambiguous instructions require an explicit suffix (could be 'fisttps', or 'fisttpl')
   28 |         "       fisttp  res16""\n"
      |          ^
<inline asm>:3:2: note: instantiated into assembly here
    3 |         fisttp  res16
      |         ^

...followed by three more cases of the same warning for other lines.

[jh: removed a bit of duplication from the warnings report, above, and
     fixed a typo in the title]

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/x86/test_FISTTP.c