This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Make gcc.dg/old-style-asm-1.c use scan-assembler-times


        * gcc.dg/old-style-asm-1.c: Use scan-assembler-times.

This change introduces a test regression on hppa2.0w-hp-hpux11.11:  I
enclose below the generated assembler output.  The first jump_insn
and the return are both parallels, so the check for `set (pc)' doesn't
work.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

	.LEVEL 1.1
	.SPACE $PRIVATE$
	.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
	.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
	.SPACE $TEXT$
	.SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
	.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
	.IMPORT $global$,DATA
	.IMPORT $$dyncall,MILLICODE
	.SPACE $TEXT$
	.SUBSPA $CODE$

	.align 4
	.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
	.EXPORT foo,ENTRY,PRIV_LEV=3,ARGW0=GR
foo
	.PROC
	.CALLINFO FRAME=0,NO_CALLS
	.ENTRY
;(jump_insn:TI 12 7 28 (parallel [
;            (set (pc)
;                (if_then_else (eq (reg:SI %r26 [ v ])
;                        (const_int 0 [0x0]))
;                    (label_ref 15)
;                    (pc)))
;            (set (reg/v:SI %r26 [orig:94 v ] [94])
;                (reg:SI %r26 [ v ]))
;        ]) 233 {*pa.md:7468} (nil)
;    (expr_list:REG_BR_PRED (const_int 5 [0x5])
;        (expr_list:REG_BR_PROB (const_int 5000 [0x1388])
;            (nil))))
	movb,=,n %r26,%r26,L$0002	; 12	*pa.md:7468/1	[length = 4]
	dummy1
L$0002
	dummy2
;(jump_insn 19 17 30 (set (pc)
;        (if_then_else (eq (reg/v:SI %r26 [orig:94 v ] [94])
;                (const_int 0 [0x0]))
;            (label_ref 26)
;            (pc))) 25 {*pa.md:1674} (insn_list 17 (nil))
;    (expr_list:REG_BR_PRED (const_int 5 [0x5])
;        (expr_list:REG_DEAD (reg/v:SI %r26 [orig:94 v ] [94])
;            (expr_list:REG_BR_PROB (const_int 5000 [0x1388])
;                (nil)))))
	comiclr,= 0,%r26,%r0	; 19	*pa.md:1674	[length = 4]
	dummy3
L$0001
;(jump_insn:TI 39 32 38 (parallel [
;            (return)
;            (use (reg:SI %r2))
;            (const_int 0 [0x0])
;        ]) 197 {return} (nil)
;    (expr_list:REG_BR_PRED (const_int 12 [0xc])
;        (expr_list:REG_DEAD (reg:SI %r2)
;            (nil))))
	bv,n %r0(%r2)	; 39	return	[length = 4]
	.EXIT
	.PROCEND


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]