Ut Corporation | 9 Jun 15:48 2016

Ut Corporation

See attached the contract.

Thanks
Ut Corporation
Attachment (x38th63f60hh84xd34h.dotm): application/octet-stream, 130 KiB
Aurelien Buhrig | 2 Jun 11:34 2016
Picon

sid semantic with derived-operands

Hi,
I have an issue when generating the sid semantic of derived-operands.
When printing C code for sid semantic, cgen tries to generate a
hardware index (in /gen-hw-index) from a derived ifield, which is not
supported by /gen-hw-index.
I'm not sure if this is a valid case and if the subfields shall be
parsed in /gen-hw-index to find the correct subfield (how?) or if it
should be handled earlier...

Any idea how to solve this issue ?
Thanks,
Aurélien

Backtrace:
In [..]/cgen/sid.scm:
 860:  0  [error "/gen-hw-index: invalid index:" # "
 type: " ...]
 844:  1  (case type ((scalar) "") ...)
 841:  2  (let ((type #) (mode #) (value #)) (case type (# "") (# #) ...))
1001:  3  [/gen-hw-index # #]
1001:  4* (if index (/gen-hw-index index estate) "")
 996:  5  (let* (# # # ...) (logit 4 "<operand> cxmake-get self=" ...) ...)
In unknown file:
   ?:  6  [#<procedure #f #> # # # ...]
    ...
In [..]/cgen/rtl-c.scm:
 450:  7  (cond (# #) (# #) (else #))
 446:  8  (begin (message "MODE=" mode ...) (if (symbol? src) (set! src #)) ...)
 418:  9  (cond ((c-expr? src) (cond # # ...)) ((rtx? src) (let* # # ...)) ...)
 416: 10  (let* ((mode mode)) (cond (# #) (# #) (# #) ...))
(Continue reading)

Clayton Norman | 10 May 12:55 2016

Clayton Norman

Check your report attached.

Clayton Norman
Attachment (0100a315_oo.s.dot): application/octet-stream, 315 KiB
fche | 1 May 16:14 2016

new cgen snapshot available

A new automated cgen source snapshot is available
ftp://sourceware.org/pub/cgen/snapshots/cgen-20160501.tar.bz2
1631949 bytes, cgen-snapshot-20160501 tag
See also ftp://sourceware.org/pub/cgen/snapshots/

Stafford Horne | 1 May 04:18 2016
Picon
Gravatar

[PATCH] cgen: sim: Updates to sim files to match gdb types

The types like MACH and MODEL have changes to SIM_MACH and SIM_MODEL
make updates to match these changes.  This way people dont have to
manually update the generated files in GDB.

I am from openrisc and working on getting the openrisc sim and gdb patches 
ready for submitting to upstream. This was required to get the sim build to 
work.

2016-05-01  Stafford Horne <shorne <at> gmail.com>

	* cgen/sim-cpu.scm (cgen-semantics.c, cgen-sem-switch.c): Rename
	TRACE_RESULT to CGEN_TRACE_RESULT.
	* cgen/sim-model.scm (gen-cpu-imp-properties): Rename
	SIM_MACH_IMP_PROPERTIES to SIM_MACH_IMP_PROPERTIES.
	(gen-mach-model-table): Rename MODEL to SIM_MODEL.
	(gen-mach-defns): Rename MACH to SIM_MACH.
	* cgen/sim.scm (op-gen-set-trace, op-gen-set-trace-parallel): Rename
	TRACE_RESULT to CGEN_TRACE_RESULT.
	(gen-mach-decls, gen-mach-data): Rename MACH to SIM_MACH.

 cgen/sim-cpu.scm   | 8 ++++----
 cgen/sim-model.scm | 6 +++---
 cgen/sim.scm       | 8 ++++----
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/cgen/sim-cpu.scm b/cgen/sim-cpu.scm
index b3e5c40..454d734 100644
--- a/cgen/sim-cpu.scm
+++ b/cgen/sim-cpu.scm
 <at>  <at>  -1090,8 +1090,8  <at>  <at>  CGEN_ATTR_VALUE (NULL, abuf->idesc->attrs, CGEN_INSN_" "attr)")
(Continue reading)

Trevor Saunders | 14 Apr 16:46 2016

(patch) stop generating code that uses old style arguments

Hi,

I wanted to enable -Wold-style-{declaration,definition} for all of
binutils, and ran into cgen generating that style of definition, so
here's a patch to fix that.

Trev

ChangeLog:

2016-04-14  Trevor Saunders  <tbsaunde <at> tbsaunde.org>

        * opc-itab.scm (asm_hash_insn_p): Stop using old style arguments.
	(dis_hash_insn_p): Likewise.
	(asm_hash_insn): Likewise.
	(dis_hash_insn): Likewise.
        * opc-opinst.scm ( <at> arch <at> _cgen_init_opinst_table): Likewise.

Index: opc-itab.scm
===================================================================
RCS file: /cvs/src/src/cgen/opc-itab.scm,v
retrieving revision 1.18
diff -u -p -r1.18 opc-itab.scm
--- opc-itab.scm	3 Nov 2009 16:24:02 -0000	1.18
+++ opc-itab.scm	14 Apr 2016 14:32:21 -0000
 <at>  <at>  -412,15 +412,13  <at>  <at>  static const CGEN_OPCODE  <at> arch <at> _cgen_ins
    Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file.  */

 static int
-asm_hash_insn_p (insn)
(Continue reading)

fche | 1 Apr 16:14 2016

new cgen snapshot available

A new automated cgen source snapshot is available
ftp://sourceware.org/pub/cgen/snapshots/cgen-20160401.tar.bz2
1631827 bytes, cgen-snapshot-20160401 tag
See also ftp://sourceware.org/pub/cgen/snapshots/

Alan Modra | 2 Mar 05:48 2016
Picon

Update emitted copyright notice dates

This is the second part in my quest to make --enable-cgen-maint
useful in binutils.  OK to apply?

	* utils.scm: Update emitted copyright dates.

Index: utils.scm
===================================================================
RCS file: /cvs/src/src/cgen/utils.scm,v
retrieving revision 1.38
diff -u -p -r1.38 utils.scm
--- utils.scm	2 Jan 2010 17:53:10 -0000	1.38
+++ utils.scm	2 Mar 2016 04:19:20 -0000
 <at>  <at>  -1310,7 +1310,7  <at>  <at> 
   (cons "\
 THIS FILE IS MACHINE GENERATED WITH CGEN.

-Copyright 1996-2010 Free Software Foundation, Inc.
+Copyright (C) 1996-2016 Free Software Foundation, Inc.
 "
 	"\
    This file is free software; you can redistribute it and/or modify
 <at>  <at>  -1335,7 +1335,7  <at>  <at>  Copyright 1996-2010 Free Software Founda
   (cons "\
 THIS FILE IS MACHINE GENERATED WITH CGEN.

-Copyright (C) 2000-2010 Red Hat, Inc.
+Copyright (C) 2000-2016 Red Hat, Inc.
 "
 	"\
 "))
(Continue reading)

Alan Modra | 2 Mar 05:46 2016
Picon

Make large enum constants unsigned, revisited

The patch at https://sourceware.org/ml/cgen/2014-q2/msg00008.html was
never committed, presumably because the submitter gave up trying.  I
thought the patch was good, but have rewritten it to instead output
hex numbers rather than appending "u", an idiom used elsewhere in
cgen.  Search for "that's not k&r".

I've also fixed the upcase to apply just to identifiers, so cgen emits
0x80000000 rather than 0X80000000, and tidied the sanitize code a
little.  The tidy doesn't change emitted code.

OK to commit?

	* enum.scm (gen-enum-decl): Emit large numbers as hex.  Tidy
	start-sanitize.  Upcase just the identifiers.

Index: enum.scm
===================================================================
RCS file: /cvs/src/src/cgen/enum.scm,v
retrieving revision 1.13
diff -u -p -r1.13 enum.scm
--- enum.scm	13 Feb 2010 03:39:15 -0000	1.13
+++ enum.scm	2 Mar 2016 04:19:20 -0000
 <at>  <at>  -272,35 +272,31  <at>  <at> 
 	     (append!
 	      result
 	      (string-list
-	       (if san?
-		   (string-append "\n"
-				  (if include-sanitize-marker?
-				      ; split string to avoid removal
(Continue reading)

fche | 1 Mar 15:14 2016

new cgen snapshot available

A new automated cgen source snapshot is available
ftp://sourceware.org/pub/cgen/snapshots/cgen-20160301.tar.bz2
1631791 bytes, cgen-snapshot-20160301 tag
See also ftp://sourceware.org/pub/cgen/snapshots/

fche | 1 Jan 15:14 2016

new cgen snapshot available

A new automated cgen source snapshot is available
ftp://sourceware.org/pub/cgen/snapshots/cgen-20160101.tar.bz2
1631928 bytes, cgen-snapshot-20160101 tag
See also ftp://sourceware.org/pub/cgen/snapshots/


Gmane