public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15
@ 2024-02-01 23:40 hjl.tools at gmail dot com
  2024-02-01 23:45 ` [Bug target/113711] " hjl.tools at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-01 23:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

            Bug ID: 113711
           Summary: Warning: instruction length of 16 bytes exceeds the
                    limit of 15
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: hongyuw at gcc dot gnu.org
  Target Milestone: ---
            Target: x86-64

[hjl@gnu-cfl-3 apx-1]$ cat x.c
int
foo (int off, int *ptr)
{
  return 2000 + ptr[off + 2000];
}
[hjl@gnu-cfl-3 apx-1]$ make x.s
/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/ -mapxf
-O3 -mx32 -S x.c
[hjl@gnu-cfl-3 apx-1]$ cat x.s
        .file   "x.c"
        .text
        .p2align 4
        .globl  foo
        .type   foo, @function
foo:
.LFB0:
        .cfi_startproc
        addl    $2000, 8000(%esi,%edi,4), %eax
        ret
        .cfi_endproc
.LFE0:
        .size   foo, .-foo
        .ident  "GCC: (GNU) 14.0.1 20240201 (experimental)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-cfl-3 apx-1]$ gcc -c x.s
x.s: Assembler messages:
x.s:9: Warning: instruction length of 16 bytes exceeds the limit of 15
[hjl@gnu-cfl-3 apx-1]$

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] Warning: instruction length of 16 bytes exceeds the limit of 15
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
@ 2024-02-01 23:45 ` hjl.tools at gmail dot com
  2024-02-01 23:56 ` [Bug target/113711] Warning: instruction length of 16 bytes exceeds the limit of 15 due to -mapxf and APX instruction set rejecting more than 15 bytes pinskia at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-01 23:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-02-01
   Target Milestone|---                         |14.0
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Another test

[hjl@gnu-cfl-3 apx-1]$ cat y.c
int
foo (void)
{
  return 2000 + (*(int __seg_fs *) 0);
}
[hjl@gnu-cfl-3 apx-1]$ make y.s
/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/ -mapxf
-O3 -S y.c
[hjl@gnu-cfl-3 apx-1]$ cat y.s
        .file   "y.c"
        .text
        .p2align 4
        .globl  foo
        .type   foo, @function
foo:
.LFB0:
        .cfi_startproc
        addl    $2000, %fs:0, %eax
        ret
        .cfi_endproc
.LFE0:
        .size   foo, .-foo
        .ident  "GCC: (GNU) 14.0.1 20240201 (experimental)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-cfl-3 apx-1]$ gcc -c y.s
y.s: Assembler messages:
y.s:9: Warning: instruction length of 16 bytes exceeds the limit of 15
[hjl@gnu-cfl-3 apx-1]$

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] Warning: instruction length of 16 bytes exceeds the limit of 15 due to -mapxf and APX instruction set rejecting more than 15 bytes
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
  2024-02-01 23:45 ` [Bug target/113711] " hjl.tools at gmail dot com
@ 2024-02-01 23:56 ` pinskia at gcc dot gnu.org
  2024-02-02 12:35 ` [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning) hjl.tools at gmail dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-01 23:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|14.0                        |---
            Summary|Warning: instruction length |Warning: instruction length
                   |of 16 bytes exceeds the     |of 16 bytes exceeds the
                   |limit of 15                 |limit of 15 due to -mapxf
                   |                            |and APX instruction set
                   |                            |rejecting more than 15
                   |                            |bytes
           Keywords|                            |assemble-failure

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
  2024-02-01 23:45 ` [Bug target/113711] " hjl.tools at gmail dot com
  2024-02-01 23:56 ` [Bug target/113711] Warning: instruction length of 16 bytes exceeds the limit of 15 due to -mapxf and APX instruction set rejecting more than 15 bytes pinskia at gcc dot gnu.org
@ 2024-02-02 12:35 ` hjl.tools at gmail dot com
  2024-02-02 14:45 ` hjl.tools at gmail dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-02 12:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 57288
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57288&action=edit
Add BN constraint for APX NDD instructions

Since the instruction length of APX NDD instructions:

op imm, mem, reg

may exceed the size limit of 15 byes, add BN constraint which is a
memory operand when TARGET_APX_NDD is disabled. For all TARGET_APX_NDD
patterns with

op imm, mem, reg

replace m with BN in operand 1 constraint for alternative with immediate
operand 2.

This patch isn't complete. We need to update all relevant TARGET_APX_NDD
patterns.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2024-02-02 12:35 ` [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning) hjl.tools at gmail dot com
@ 2024-02-02 14:45 ` hjl.tools at gmail dot com
  2024-02-02 18:50 ` hongyuw at gcc dot gnu.org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-02 14:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #57288|0                           |1
        is obsolete|                            |

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 57293
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57293&action=edit
An updated patch

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2024-02-02 14:45 ` hjl.tools at gmail dot com
@ 2024-02-02 18:50 ` hongyuw at gcc dot gnu.org
  2024-02-02 19:31 ` hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hongyuw at gcc dot gnu.org @ 2024-02-02 18:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #4 from Hongyu Wang <hongyuw at gcc dot gnu.org> ---
Previously I added 
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=d564198f960a2f5994dde3f6b83d7a62021e49c3

to prohibit several *POFF constant usage in NDD add alternative. If checking
ADDR_SPACE_GENERIC can avoid the seg prefix usage, we can drop that change?

And I'd suggest to use j prefix for all APX related constraints like jf.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2024-02-02 18:50 ` hongyuw at gcc dot gnu.org
@ 2024-02-02 19:31 ` hjl.tools at gmail dot com
  2024-02-02 20:03 ` hongyuw at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-02 19:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Hongyu Wang from comment #4)
> Previously I added 
> https://gcc.gnu.org/git/?p=gcc.git;a=commit;
> h=d564198f960a2f5994dde3f6b83d7a62021e49c3
> 
> to prohibit several *POFF constant usage in NDD add alternative. If checking
> ADDR_SPACE_GENERIC can avoid the seg prefix usage, we can drop that change?

Are there are any testcases for this change?

> And I'd suggest to use j prefix for all APX related constraints like jf.

Will do.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2024-02-02 19:31 ` hjl.tools at gmail dot com
@ 2024-02-02 20:03 ` hongyuw at gcc dot gnu.org
  2024-02-02 20:58 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hongyuw at gcc dot gnu.org @ 2024-02-02 20:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #6 from Hongyu Wang <hongyuw at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #5)
> (In reply to Hongyu Wang from comment #4)
> > Previously I added 
> > https://gcc.gnu.org/git/?p=gcc.git;a=commit;
> > h=d564198f960a2f5994dde3f6b83d7a62021e49c3
> > 
> > to prohibit several *POFF constant usage in NDD add alternative. If checking
> > ADDR_SPACE_GENERIC can avoid the seg prefix usage, we can drop that change?
> 
> Are there are any testcases for this change?
> 

Cut and edit from gcc.dg\torture\tls\tls-test.c

#include <pthread.h>
__thread int a = 255; 
__thread int *b;
int *volatile a_in_other_thread = (int *) 12345;

void *
thread_func (void *arg)
{
  a_in_other_thread = &a; //Previously it will try to generate addq $a@tpoff,
%fs:0, %rax 
  a+=11144; //this was not fixed on trunk as UNSPEC_TPOFF is in mem operand
  *((int *) arg) = a;

  return (void *)0;
}

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2024-02-02 20:03 ` hongyuw at gcc dot gnu.org
@ 2024-02-02 20:58 ` hjl.tools at gmail dot com
  2024-02-02 21:01 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-02 20:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Hongyu Wang from comment #6)
> (In reply to H.J. Lu from comment #5)
> > (In reply to Hongyu Wang from comment #4)
> > > Previously I added 
> > > https://gcc.gnu.org/git/?p=gcc.git;a=commit;
> > > h=d564198f960a2f5994dde3f6b83d7a62021e49c3
> > > 
> > > to prohibit several *POFF constant usage in NDD add alternative. If checking
> > > ADDR_SPACE_GENERIC can avoid the seg prefix usage, we can drop that change?
> > 
> > Are there are any testcases for this change?
> > 
> 
> Cut and edit from gcc.dg\torture\tls\tls-test.c
> 
> #include <pthread.h>
> __thread int a = 255; 
> __thread int *b;
> int *volatile a_in_other_thread = (int *) 12345;
> 
> void *
> thread_func (void *arg)
> {
>   a_in_other_thread = &a; //Previously it will try to generate addq
> $a@tpoff, %fs:0, %rax 
>   a+=11144; //this was not fixed on trunk as UNSPEC_TPOFF is in mem operand
>   *((int *) arg) = a;
> 
>   return (void *)0;
> }

My patch seems to work.  But we need to add such tests to gcc.target/i386.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2024-02-02 20:58 ` hjl.tools at gmail dot com
@ 2024-02-02 21:01 ` hjl.tools at gmail dot com
  2024-02-03 15:38 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-02 21:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
My branch is at

https://gitlab.com/x86-gcc/gcc/-/commits/users/hjl/pr113711/master

We need to add more tests:

1. All NDD instructions are 15 bytes or less.
2. Use "op imm, mem, reg" whenever possible.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (8 preceding siblings ...)
  2024-02-02 21:01 ` hjl.tools at gmail dot com
@ 2024-02-03 15:38 ` hjl.tools at gmail dot com
  2024-02-08 11:53 ` cvs-commit at gcc dot gnu.org
  2024-02-20  7:43 ` cvs-commit at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-03 15:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
Many NDD patterns have the same issue.  Here is another testcase:

[hjl@gnu-cfl-3 pr113711]$ cat apx-ndd-length-X.c
/* { dg-do assemble { target { apxf && { ! ia32 } } } } */
/* { dg-options "-mapxf -O2" } */

typedef signed __int128 S;
int o;

S
qux (void)
{
  S z;
  o = __builtin_add_overflow (*(S __seg_fs *) 0x1000, 0x200, &z);
  return z;
}
[hjl@gnu-cfl-3 pr113711]$ make apx-ndd-length-X.o
/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/ -mapxf
-O3 -dp   -c -o apx-ndd-length-X.o apx-ndd-length-X.c
/tmp/cc1eMHh5.s: Assembler messages:
/tmp/cc1eMHh5.s:9: Warning: instruction length of 16 bytes exceeds the limit of
15
[hjl@gnu-cfl-3 pr113711]$ cat apx-ndd-length-Y.c 
/* { dg-do assemble { target { apxf && { ! ia32 } } } } */
/* { dg-options "-mapxf -O2" } */

__thread signed __int128 var;
int o;

signed __int128
qux (void)
{
  signed __int128 z;
  o = __builtin_add_overflow (var, 0x200, &z);
  return z;
}
[hjl@gnu-cfl-3 pr113711]$ make apx-ndd-length-Y.o
/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/ -mapxf
-O3 -dp   -c -o apx-ndd-length-Y.o apx-ndd-length-Y.c
/tmp/ccwvDbZA.s: Assembler messages:
/tmp/ccwvDbZA.s:9: Warning: instruction length of 16 bytes exceeds the limit of
15
[hjl@gnu-cfl-3 pr113711]$ 

We need to exam all NDD patterns to check invalid memory constraint.
We should find a testcase for each issue we find.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (9 preceding siblings ...)
  2024-02-03 15:38 ` hjl.tools at gmail dot com
@ 2024-02-08 11:53 ` cvs-commit at gcc dot gnu.org
  2024-02-20  7:43 ` cvs-commit at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-08 11:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:d2798598c4fcf2281921df3c2b7b1d16a171fa03

commit r14-8883-gd2798598c4fcf2281921df3c2b7b1d16a171fa03
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Feb 5 19:48:48 2024 -0800

    x86: Update constraints for APX NDD instructions

    1. The only supported TLS code sequence with ADD is

            addq foo@gottpoff(%rip),%reg

    Change je constraint to a memory operand in APX NDD ADD pattern with
    register source operand.

    2. The instruction length of APX NDD instructions with immediate operand:

    op imm, mem, reg

    may exceed the size limit of 15 byes when non-default address space,
    segment register or address size prefix are used.

    Add jM constraint which is a memory operand valid for APX NDD instructions
    with immediate operand and add jO constraint which is an offsetable memory
    operand valid for APX NDD instructions with immediate operand.  Update
    APX NDD patterns with jM and jO constraints.

    gcc/

            PR target/113711
            PR target/113733
            * config/i386/constraints.md: List all constraints with j prefix.
            (j>): Change auto-dec to auto-inc in documentation.
            (je): Changed to a memory constraint with APX NDD TLS operand
            check.
            (jM): New memory constraint for APX NDD instructions.
            (jO): Likewise.
            * config/i386/i386-protos.h (x86_poff_operand_p): Removed.
            * config/i386/i386.cc (x86_poff_operand_p): Likewise.
            * config/i386/i386.md (*add<dwi>3_doubleword): Use rjO.
            (*add<mode>_1[SWI48]): Use je and jM.
            (addsi_1_zext): Use jM.
            (*addv<dwi>4_doubleword_1[DWI]): Likewise.
            (*sub<mode>_1[SWI]): Use jM.
            (@add<mode>3_cc_overflow_1[SWI]): Likewise.
            (*add<dwi>3_doubleword_cc_overflow_1): Use rjO.
            (*and<dwi>3_doubleword): Likewise.
            (*anddi_1): Use jM.
            (*andsi_1_zext): Likewise.
            (*and<mode>_1[SWI24]): Likewise.
            (*<code><dwi>3_doubleword[any_or]): Use rjO
            (*code<mode>_1[any_or SWI248]): Use jM.
            (*<code>si_1_zext[zero_extend + any_or]): Likewise.
            * config/i386/predicates.md (apx_ndd_memory_operand): New.
            (apx_ndd_add_memory_operand): Likewise.

    gcc/testsuite/

            PR target/113711
            PR target/113733
            * gcc.target/i386/apx-ndd-2.c: New test.
            * gcc.target/i386/apx-ndd-base-index-1.c: Likewise.
            * gcc.target/i386/apx-ndd-no-seg-global-1.c: Likewise.
            * gcc.target/i386/apx-ndd-seg-1.c: Likewise.
            * gcc.target/i386/apx-ndd-seg-2.c: Likewise.
            * gcc.target/i386/apx-ndd-seg-3.c: Likewise.
            * gcc.target/i386/apx-ndd-seg-4.c: Likewise.
            * gcc.target/i386/apx-ndd-seg-5.c: Likewise.
            * gcc.target/i386/apx-ndd-tls-1a.c: Likewise.
            * gcc.target/i386/apx-ndd-tls-2.c: Likewise.
            * gcc.target/i386/apx-ndd-tls-3.c: Likewise.
            * gcc.target/i386/apx-ndd-tls-4.c: Likewise.
            * gcc.target/i386/apx-ndd-x32-1.c: Likewise.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)
  2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
                   ` (10 preceding siblings ...)
  2024-02-08 11:53 ` cvs-commit at gcc dot gnu.org
@ 2024-02-20  7:43 ` cvs-commit at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-20  7:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711

--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>:

https://gcc.gnu.org/g:5a9a9bd415ed1d211e00990226b90199407b3448

commit r14-9078-g5a9a9bd415ed1d211e00990226b90199407b3448
Author: liuhongt <hongtao.liu@intel.com>
Date:   Mon Feb 19 12:19:35 2024 +0800

    Fix testcase for platform without gnu/stubs-x32.h

    target maybe_x32 doesn't check if platform has gnu/stubs-x32.h, but
    it's included by stdint.h in the testcase.
    Adjust testcase: remove stdint.h, use 'typedef long long int64_t'
    instead.

    gcc/testsuite/ChangeLog:

            PR target/113711
            * gcc.target/i386/apx-ndd-x32-1.c: Adjust testcase.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-02-20  7:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 23:40 [Bug target/113711] New: Warning: instruction length of 16 bytes exceeds the limit of 15 hjl.tools at gmail dot com
2024-02-01 23:45 ` [Bug target/113711] " hjl.tools at gmail dot com
2024-02-01 23:56 ` [Bug target/113711] Warning: instruction length of 16 bytes exceeds the limit of 15 due to -mapxf and APX instruction set rejecting more than 15 bytes pinskia at gcc dot gnu.org
2024-02-02 12:35 ` [Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning) hjl.tools at gmail dot com
2024-02-02 14:45 ` hjl.tools at gmail dot com
2024-02-02 18:50 ` hongyuw at gcc dot gnu.org
2024-02-02 19:31 ` hjl.tools at gmail dot com
2024-02-02 20:03 ` hongyuw at gcc dot gnu.org
2024-02-02 20:58 ` hjl.tools at gmail dot com
2024-02-02 21:01 ` hjl.tools at gmail dot com
2024-02-03 15:38 ` hjl.tools at gmail dot com
2024-02-08 11:53 ` cvs-commit at gcc dot gnu.org
2024-02-20  7:43 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).