geode optimizations

2009-02-03 Thread Carl
Hi, Im sorry that this is not 100% specific to gcc, however this mailing list is the last place where I think this knowledge may lie. I have written some image processing routines in assembly language making extensive use of MMX, and now I want to start optimizing it, however I cant for the life of

Re: GCC and the Visual Basic programmer....

2009-02-16 Thread Carl
On Tue, Feb 17, 2009 at 8:38 AM, Farlie A wrote: > In terms of Visual Basic code, there is of course no 'free' compiler for VB > code written prior > to VB.NET., and again the EULA for the runtime support would prevent use of > the Vendor's > runtime on 'free' systems.. > Should there be a way of

Re: Preprocessor for assembler macros?

2009-03-08 Thread Carl
but this does > assembling as well - so I'd have to filter the real assembler from there, and > try this way. > > Is there something easier? > > > Thank you for all answers. > > > Regards, > > Phil > > -- > Versioning your /etc, /home or even your whole installation? >             Try fsvs (fsvs.tigris.org)! > -- Carl

Re: Preprocessor for assembler macros?

2009-03-08 Thread Carl
gcc -S tmp.S for some reason prints to stdout, so gcc -S tmp.S > tmp.s is what you need On Mon, Mar 9, 2009 at 4:41 AM, Carl wrote: > you could run cpp on it by itself, or I suspect gcc -S tmp.s will also > work, im in a rush though cant test this. > > On Sun, Mar 8, 2009 at 9

gcc 3.4.3 bug C++/inlines/thumb

2005-03-18 Thread Carl van_Schaik
th: ../gcc-3.4.3/configure --prefix=/opt/tools/3.4.3-elf --target=arm-elf --with-float=soft --with-arch=armv5te --enable-cxx-flags=-march=armv5te --enable-languages=c,c++ : (reconfigured) ../gcc-3.4.3/configure --prefix=/opt/tools/3.4.3-elf --target=arm-elf --with-float=soft --enable-languages=c,c++

Re: memcpy to an unaligned address

2005-08-05 Thread Carl Whitwell
On 8/4/05, Shaun Jackman <[EMAIL PROTECTED]> wrote: > Are you using an x86 host and an arm target? > Actually no, my major concern at the time was the large quantity of legacy code with packed structures that we have on an embedded linux x86 system. I was just testing that we didn't have an issue

Question on visible scope in template declaration

2015-12-14 Thread Carl Lei
am not very sure about the wording. I suspect this to be a GCC bug, but not sure, so asking here first. -- Carl Lei (XeCycle) Department of Physics and Astronomy, SJTU

Re: Question on visible scope in template declaration

2015-12-14 Thread Carl Lei
在 12/15/15 11:09, Andrew Pinski 写道: On Mon, Dec 14, 2015 at 7:01 PM, Carl Lei wrote: Hello list, The following code is rejected by GCC but accepted by Clang: template auto f(T v) -> decltype(g(v)); int g(int) { return 0; } template auto f(T v) -> decltype(g(v)) { return g(

Re: PATCH for Re: Release notes for GCC 7?

2017-03-27 Thread carl hansen
suggested additions: get and insert the latest libtool, which includes files: libtool.m4 ltgcc.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4, all way-old currently in gcc-7 get latest autoconf. 2.64 in use, latest is 2.69 get latest texinfo.tex, not one 5 years old GNU is supposed

Re: Support Library Requirements for GCC 7.1

2017-05-02 Thread carl hansen
On Tue, May 2, 2017 at 5:02 PM, Paul Smith wrote: > On Tue, 2017-05-02 at 18:17 -0500, Joel Sherrill wrote: >> With gcc 6.3.0, we have this in our build recipe: >> >> %define mpfr_version 2.4.2 >> %define mpc_version0.8.1 >> %define gmp_version4.3.2 > > Best thing to do is look at the co

Re: Exhaustive Instructions for Toolchain Generation

2017-10-05 Thread carl hansen
toolchain problems? If you really want to learn , try linuxfromscratch.org and http://trac.clfs.org/ Cross linux from scratch You complained about too much documentation, and here's some more.

Re: dead code remover under gcc -O and higher(Is there a flag to do this)

2017-12-03 Thread carl hansen
line 12 , you say "void A( );" say instead: void A(){}; That solved it for me, using gcc7.2 On Sun, Dec 3, 2017 at 4:56 PM, chengjian (D) wrote: > I have written a simple code like this > > ```c > #include > #include > > //#define CONFIG_TARGET_X86_64 > > #ifdef CONFIG_TARGET_X86_64 > static

Re: gdb 8.x - g++ 7.x compatibility

2018-02-02 Thread carl hansen
On Fri, Feb 2, 2018 at 7:17 PM, Roman Popov wrote: > Hello, > I'm trying to switch from g++ 5.4 to g++ 7.2. > GDB 8.0.1 however does not understand RTTI generated by g++7.2, so my > Python scripts for GDB are not working. > > Here is a code example: > > struct base { virtual ~base(){} }; > > te

Re: 【GCC version can not be changed】

2018-05-05 Thread carl hansen
On Sat, May 5, 2018 at 5:13 AM, 夏晗 wrote: > root@Xia-Ubuntu:/usr/bin# gcc -v > 使用内建 specs。 > COLLECT_GCC=gcc > 目标:x86_64-pc-linux-gnu > 配置为:../configure -enable-checking=release -enable-languages=c,c++ > -disable-multilib > 线程模型:posix > gcc 版本 6.2.0 (GCC) > I have tried many methods like 'ln' and

gcc internals question, e.g. -fdump-translation-unit

2006-02-05 Thread Carl Spalletta
I need a way to extract from gcc, each time gcc runs, the following information: A) When a call to any function F is encountered, I require the full path of the file wherein F is defined. B) When the conversion of any pointer of type STRICT->funcptr (structure member of type pointer to function(

DWARF question about size of a variable

2022-06-08 Thread Carl Love via Gcc
and PowerPC which will show why Intel can display the size of the variable but PowerPC can not. Thanks for you help. Carl Love

Re: Article suggestion (note for admin)

2023-11-07 Thread carl hansen via Gcc
We have many STDs. stdio stdlib libstdc++ On Tue, Nov 7, 2023 at 7:57 AM Dwayne Jacobs < d.jac...@backgroundchecksmailing.org> wrote: > Hi GCC Team, > > I wanted to follow up once more regarding the latest STD statistics in the > US. > > As I mentioned previously, I believe the data could be a u

Re: Using gcc as a sort of scripting language.

2024-12-28 Thread carl hansen via Gcc
On Sat, Dec 28, 2024 at 2:48 PM Florian Weimer wrote: > [...] > > > Still it would be a nice touch if we could do > > #!/usr/bin/gcc -f > #include > int main() > { > puts("Hello, world"); > return 0; > } > re previously mentioned "root" >>> cat d #include int main(void) { puts("Hello, wo

Re: Using gcc as a sort of scripting language.

2024-12-28 Thread carl hansen via Gcc
>>> cat e #!/bin/sh # # root -l -b < int main(void) { puts("Hello, world, you can ignore all that particle physics if you like."); printf("By the way, log(2025) is %lf\n",log(2025.)); printf("Here I have suppressed the banner\n"); return 0; } DOIT >>> ./e Hello, world, you can ignore al

Re: Using gcc as a sort of scripting language.

2024-12-28 Thread carl hansen via Gcc
Does "root" do what you want? https://root.cern/ https://root.cern/primer/#learn-c-at-the-root-prompt Includes a c++ interpreter (which includes all of C) that interprets C as you go, then at your option, compile a just-interpreted function, dynamically link it, and use the compiled version of that