* [PATCH] MAXQ port binutils-2_15
@ 2004-11-02 14:24 Inderpreet Singh Baweja
2004-11-02 18:56 ` Ramana Radhakrishnan
0 siblings, 1 reply; 3+ messages in thread
From: Inderpreet Singh Baweja @ 2004-11-02 14:24 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 4364 bytes --]
<<patch-maxq.tar.gz>>
Hi,
We at HCL Technologies Pvt. Ltd. Have ported binutils v1.5 for the MAXQ
architechture.
MAXQ is a new high performance RISC architecture from Maxim Integrated
Products & Dallas Semiconductor.
The MAXQ RISC architecture has a new microcontroller core that combines
high performance and low power
with a variety of complex analog functions.
The MAXQ can be seen as a MOVE driven architecture and the source and
destination operands for the
"MOVE" instruction are the basis for creating instructions and memory
accesses, and triggering hardware
operations.
16-bit MAXQ Instruction Word
FORMAT DESTINATION SOURCE
f ddd dddd ssss ssss
1 Index Mod. Index Mod.
0 Index Mod. Immediate Data
Initially the MAXQ Arch. has two slightly different versions named
MAXQ10 and MAXQ20. The primary
difference between the MAXQ10 and MAXQ20 options is the standard width
of the working accumulators
and supporting arithmetic logic unit (ALU). The MAXQ10 supports 8-bit
(byte-wide) accumulators and
ALU operations, while the MAXQ20 supports 16-bit (word-wide)
accumulators and ALU operations.
The MAXQ microcontroller uses Peripheral Registers to control and
monitor peripheral
modules (like General Purpose I/O Module, UART, MAC etc.)
More Information about MAXQ
---------------------------
--> http://www.maxim-ic.com/MAXQ
--> http://www.maxim-ic.com.cn/appnotes.cfm/appnote_number/3222
--> http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4466
About MAXQ binutils v2.15 port
------------------------------
- The binutils contains support for both MAXQ10 and MAXQ20 versions of
MAXQ.
- Apart from standard MAXQ Arch. binutils support the MAXQ2000
variant. Which includes support for
integrated, in-system-programmable flash memory and a wide range of
peripherals including an LCD
driver supporting up to x4 multiplexed displays. The MAXQ2000 is
ideally suited for battery-powered,
portable applications such as blood glucose monitoring, medical
instrumentation, environmental data logging, and industrial control.
Testing binutils for MAXQ
-------------------------
The testcases for the MAXQ arch. has been integrated into the DEJAGNU
Testsuite.
which will be posted later on.
Configuring and Installing
--------------------------
While configuring the binutils source we need to specify the option
'--enable-bfd-assembler'.
Go to the binutils sources and do:
> configure --enable-bfd-assembler --target=maxq-coff
> make
> make install
Inder
------------------------------------------------------------------------
------------------------------------------------------------------------
--------------------------------------------------------------
2004-11-02 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
Vineet Sharma <vineets@noida.hcltech.com>
* config,sub : Add new target maxq-coff
bfd/
* coff-maxq.c: New File.
* cpu-maxq.c: New File.
* archures.c (bfd_maxq_arch): Added.
* bfd_in2.h (bfd_architecture): Added support for maxq target.
* coffcode.h: Likewise.
* config.bfd: Likewise.
* configure.in (maxqcoff_vec): New target vector.
* targets.c: Likewise.
gas/
* configure.in: Added support for new target maxq-coff.
gas/config/
* tc-maxq.c: New file.
* tc-maxq.h: New file.
ld/
* Makefile.am (emaxqcoff.o, emaxqcoff.c>: new entries for
maxq-coff target added.
* Makefile.in: Likewise.
* emulparams/maxqcoff.sh: New File.
* scripttempl/maxqcoff.sc: New linker script for target maxq.
opcode/
* maxq-dis.c: New file.
* disassemble.c (ARCH_all): Define ARCH_maxq
(disassembler): added 'print_insn_maxq_little'
for handling
printing for ARCH_maxq.
* configure.in: Add case for bfd_maxq_arch.
* configure: Same.
include/
* coff/maxq.h: New file added.
* opcodes/maxq.h: New file added.
------------------------------------------------------------------------
------------------------------------------------------------------------
--------------------------------------------------------------
Thanks and Best Regards,
Inderpreet Singh.
[-- Attachment #2: patch-maxq.tar.gz --]
[-- Type: application/x-gzip, Size: 46157 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] MAXQ port binutils-2_15
2004-11-02 14:24 [PATCH] MAXQ port binutils-2_15 Inderpreet Singh Baweja
@ 2004-11-02 18:56 ` Ramana Radhakrishnan
0 siblings, 0 replies; 3+ messages in thread
From: Ramana Radhakrishnan @ 2004-11-02 18:56 UTC (permalink / raw)
To: Inderpreet Singh Baweja; +Cc: binutils
Hi Inderpreet,
I tried applying your patch to the current CVS head and got a number
of rejects. In any case the current binutils version is 2.15 and you
claim this to be with respect to binutils v 1.5 . Usually new
contributions are accepted with respect to the current CVS head. So
you might like to rework your patch with respect to the same.
Also since the other thing missing is a set of testcases from the
patch is a set of testcases it would be difficult for anyone to rework
the patches to the current mainline and be sure that those changes did
not break anything.
regards
Ramana
--
Ramana Radhakrishnan
GNU Tools Support
Codito Technologies (www.codito.com)
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Re: [PATCH] MAXQ port binutils-2_15
@ 2004-11-06 11:53 Inderpreet Singh Baweja
2004-11-08 13:26 ` Nick Clifton
0 siblings, 1 reply; 3+ messages in thread
From: Inderpreet Singh Baweja @ 2004-11-06 11:53 UTC (permalink / raw)
To: H. J. Lu; +Cc: ramana.r, binutils
[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]
Hi H.J
I got the Idea and am posting the patch for MAXQ form the mainline.
You can get the sources using
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co binutils
And then apply the patch.
This patch also includes all the testcases.
Thanks,
Inder
> -----Original Message-----
> From: binutils-owner@sources.redhat.com
> [mailto:binutils-owner@sources.redhat.com] On Behalf Of H. J. Lu
> Sent: Wednesday, November 03, 2004 10:04 PM
> To: Inderpreet Singh Baweja
> Cc: ramana.r@gmail.com; binutils@sources.redhat.com
> Subject: Re: Re: [PATCH] MAXQ port binutils-2_15
>
> I am not sure if it is a good idea to add a new port to the
> release branch. I understand that the release branch is more
> stable than the mainline, which also means it may be quite
> different from mainline and a patch based on the release
> branch may not work on mainline. On the other hand, I have
> been trying to make the mainline as stable as I can. I have
> been making the Linux binutils releases off the mainline,
> which should be as stable as the release branch, if not
> better, at least on Linux.
>
>
> H.J.
>
[-- Attachment #2: maxq-patch-mainline20041106.tar.gz --]
[-- Type: application/x-gzip, Size: 83533 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] MAXQ port binutils-2_15
2004-11-06 11:53 Inderpreet Singh Baweja
@ 2004-11-08 13:26 ` Nick Clifton
0 siblings, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2004-11-08 13:26 UTC (permalink / raw)
To: Inderpreet Singh Baweja; +Cc: H. J. Lu, ramana.r, binutils
Hi Inderpreet,
> I got the Idea and am posting the patch for MAXQ form the mainline.
> This patch also includes all the testcases.
Thanks for doing this. I have applied your patch, although I had to fix
up a lot of formatting issues. Probably as a result of this some of the
new MAXQ specific GAS and LD tests are failing. I hope that you will
find time to investigate these failures and submit patches to fix them.
Cheers
Nick
> Vineet Sharma <vineets@noida.hcltech.com>
>
>
>
> * config,sub : Add new target maxq-coff
>
> bfd/
>
> * coff-maxq.c: New File.
> * cpu-maxq.c: New File.
> * archures.c (bfd_maxq_arch): Added.
> * bfd_in2.h (bfd_architecture): Added support for maxq target.
> * coffcode.h: Likewise.
> * config.bfd: Likewise.
> * configure.in (maxqcoff_vec): New target vector.
> * targets.c: Likewise.
>
> gas/
>
> * configure.in: Added support for new target maxq-coff.
>
> gas/config/
>
> * tc-maxq.c: New file.
> * tc-maxq.h: New file.
>
> ld/
>
> * Makefile.am (emaxqcoff.o, emaxqcoff.c>: new entries for
> maxq-coff target added.
> * Makefile.in: Likewise.
> * emulparams/maxqcoff.sh: New File.
> * scripttempl/maxqcoff.sc: New linker script for target maxq.
>
> opcode/
>
> * maxq-dis.c: New file.
> * disassemble.c (ARCH_all): Define ARCH_maxq
> (disassembler): added 'print_insn_maxq_little'
> for handling
> printing for ARCH_maxq.
> * configure.in: Add case for bfd_maxq_arch.
> * configure: Same.
>
> include/
>
> * coff/maxq.h: New file added.
> * opcodes/maxq.h: New file added.
>
Approved and applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-08 13:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-02 14:24 [PATCH] MAXQ port binutils-2_15 Inderpreet Singh Baweja
2004-11-02 18:56 ` Ramana Radhakrishnan
2004-11-06 11:53 Inderpreet Singh Baweja
2004-11-08 13:26 ` Nick Clifton
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).