jit: fix test-asm failures on i?86

On i686, test_i386_basic_asm_4 has:
  error: inconsistent operand constraints in an 'asm'
and test_i386_basic_asm_5 has:
  /tmp/libgccjit-9FsLie/fake.s:9: Error: bad register name `%rdi'
  /tmp/libgccjit-9FsLie/fake.s:10: Error: bad register name `%rsi'

This is only intended as a smoketest of asm support, so only run
it on x86_64.

gcc/testsuite/ChangeLog:
	* jit.dg/test-asm.c: Remove i?86-*-* from target specifier.
	* jit.dg/test-asm.cc: Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
David Malcolm 2021-06-25 19:07:25 -04:00
parent fd51b344ca
commit 176289e50e
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile { target x86_64-*-* } } */
#include <stdlib.h>
#include <stdio.h>

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile { target x86_64-*-* } } */
#include "libgccjit++.h"