Xx No m. M C B m

2024-12-17 Thread STEVE MARVIN via Gcc
I’m k B Sent from my iPhone

M

2023-03-03 Thread Tammi Pierce via Gcc
W I’maI hope w S

Re: syslog: ISO C does not support the ‘%m’ gnu_printf format

2022-01-24 Thread Ankur Saini via Gcc
> On 25-Jan-2022, at 9:38 AM, Kris Andersen via Gcc wrote: > > The %m format specifier is a documented feature of syslog, but gcc gives a > warning when -Wpedantic is used. Is this a bug? > > For example, the program: > > #include > int main(void) &

syslog: ISO C does not support the ‘%m’ gnu_printf format

2022-01-24 Thread Kris Andersen via Gcc
The %m format specifier is a documented feature of syslog, but gcc gives a warning when -Wpedantic is used. Is this a bug? For example, the program: #include int main(void) { syslog(LOG_ERR, "%m"); return 0; } gives: warning: ISO C does not support the ‘%m’ gnu_printf format

♡ I`m waiting your so long. Where ary you?

2019-09-01 Thread Marianne
hi,my honeyboy. i was seen you in Xvidieos yesterday and i waunt to fucc you. My name Dorcas I create some account With my personal photo. I`ll Wait youth messages. my second nickname : Campbell483. Please Find my account...

Re: Potential bug on Cortex-M due to used registers/interrupts.

2017-11-17 Thread Wilco Dijkstra
bered after a call, it doesn't need to be restored, so you can use pop {regs,PC} to return). Cortex-M hardware will automatically save/restore R0-R3, R12, LR, PC, PSR on interrupts. That perfectly matches the caller-saves and clobbered registers, so there is no potential bug. Wilco

Re: Potential bug on Cortex-M due to used registers/interrupts.

2017-11-17 Thread David Brown
On 16/11/17 17:54, Vitalijus Jefišovas wrote: > On Cortex-M mcu’s, when interrupt happens, NVIC copies r0-r3 and couple > other registers onto the psp stack, and then jumps to interrupt routine, > when it finishes, NVIC restores these registers, and jumps back to user’s > functio

Re: Potential bug on Cortex-M due to used registers/interrupts.

2017-11-16 Thread Kai Ruottu
Vitalijus Jefišovas kirjoitti 16.11.2017 klo 18:54: On Cortex-M mcu’s, when interrupt happens, NVIC copies r0-r3 and couple other registers onto the psp stack, and then jumps to interrupt routine, when it finishes, NVIC restores these registers, and jumps back to user’s function. What is

Re: Potential bug on Cortex-M due to used registers/interrupts.

2017-11-16 Thread Paul.Koning
> On Nov 16, 2017, at 11:54 AM, Vitalijus Jefišovas wrote: > > On Cortex-M mcu’s, when interrupt happens, NVIC copies r0-r3 and couple > other registers onto the psp stack, and then jumps to interrupt routine, > when it finishes, NVIC restores these registers, and jumps

Potential bug on Cortex-M due to used registers/interrupts.

2017-11-16 Thread Vitalijus Jefišovas
On Cortex-M mcu’s, when interrupt happens, NVIC copies r0-r3 and couple other registers onto the psp stack, and then jumps to interrupt routine, when it finishes, NVIC restores these registers, and jumps back to user’s function. What is happening under the hood, NVIC only stacks 4 registers, r0

Re: [PATCH] Write dependency information (-M*) even if there are errors

2017-08-12 Thread Segher Boessenkool
Hi Boris, On Sat, Aug 12, 2017 at 05:53:44PM +0200, Boris Kolpackov wrote: > Segher Boessenkool writes: > > > Patches should go to gcc-patches. > > Ok, will keep in mind for future (seeing that we have a discussion > already it probably doesn't make sense to move this patch). Please do move it

Re: [PATCH] Write dependency information (-M*) even if there are errors

2017-08-12 Thread Boris Kolpackov
outdated generated headers that now trigger errors + (for example, with #error) which would be resolved by re-generating + them. In a sense, this complements -MG. */ + if (cpp_opts->deps.style != DEPS_NONE) { /* If -M or -MM was seen without -MF, default output to the output stream. */

Re: [PATCH] Write dependency information (-M*) even if there are errors

2017-08-12 Thread Boris Kolpackov
Joseph Myers writes: > I suppose a question for the present proposal would be making sure any > dependencies generated in this case do not include dependencies on files > that don't exist (so #include "some-misspelling.h" doesn't create any sort > of dependency on such a header). Good point.

Re: [PATCH] Write dependency information (-M*) even if there are errors

2017-08-09 Thread Joseph Myers
On Wed, 9 Aug 2017, Jeff Law wrote: > This directly reverts part of Joseph's changes from 2009. I'd like to > hear from him on this change. The point of those changes was to make cpplib diagnostics use the compiler's diagnostic machinery rather than a separate set of diagnostic machinery in c

Re: [PATCH] Write dependency information (-M*) even if there are errors

2017-08-09 Thread Jeff Law
On 08/06/2017 01:59 AM, Boris Kolpackov wrote: > Hi, > > Currently GCC does not write extracted header dependency information > if there are errors. However, this can be useful when dealing with > outdated generated headers that trigger errors which would have been > resolved if we could update it

Re: [PATCH] Write dependency information (-M*) even if there are errors

2017-08-07 Thread Segher Boessenkool
Hi! Patches should go to gcc-patches. Just a trivial remark: > --- gcc/c-family/c-opts.c (revision 250514) > +++ gcc/c-family/c-opts.c (working copy) > @@ -1152,8 +1152,11 @@ > { >FILE *deps_stream = NULL; > > - /* Don't write the deps file if there are errors. */ > - if (cpp_o

[PATCH] Write dependency information (-M*) even if there are errors

2017-08-06 Thread Boris Kolpackov
andling outdated generated headers that now trigger errors + (for example, with #error) that would be resolved by re-generating + them. In a sense this complements -MG. */ + if (cpp_opts->deps.style != DEPS_NONE) { /* If -M or -MM was seen without -MF, default output to the output stream. */

fp emulation libraries in assembly for armv6-m architecture

2014-01-30 Thread Mallikarjun Goudar
Hi, I notice that, libgcc has fp emulation libraries written in C for armv6-m architecture which is quite big in size. Also I see that other architecture like armv7-m has these libraries written in assembly for smaller size lib. I wanted to know, is there anybody working on this feature supporting

2013 B�t�n Devlet Te�vikleri, AB Hibeleri ile Yat�r�m Te�vik Belgesi E�itimi

2013-04-14 Thread Banu ERDAS
Devlet Teşvikleri Bilgi Hattı: İstanbul: 0212 586 50 67 - Mobil İletişim: 0532 332 32 99 DIŞTİCARETYÖNETİMİ 20 Nisan Cumartesi Yeni Teşvik Kanunu ve Bütün Devlet Teşvikleri ile AB Hibeleri Eğitimi 21 Nisan Pazar Yatırım Teşvik Belgesi ve Yatırım Fizibilitesi HazÄ

2013 B�t�n Devlet Te�vikleri, AB Hibeleri ile Yat�r�m Te�vik Belgesi E�itimi

2013-04-14 Thread Banu ERDAS
Devlet Teşvikleri Bilgi Hattı: İstanbul: 0212 586 50 67 - Mobil İletişim: 0532 332 32 99 DIŞTİCARETYÖNETİMİ 20 Nisan Cumartesi Yeni Teşvik Kanunu ve Bütün Devlet Teşvikleri ile AB Hibeleri Eğitimi 21 Nisan Pazar Yatırım Teşvik Belgesi ve Yatırım Fizibilitesi HazÄ

M

2013-03-24 Thread misu zoo

M

2013-03-24 Thread misu zoo
M

M

2013-03-24 Thread misu zoo
iPhoneから送信

M

2013-03-24 Thread misu zoo
iPhoneから送信

M

2013-03-24 Thread miss zoo
M

RE: ICE when calculate insn latency for armv7e-m arch in O2 level

2012-07-10 Thread Greta Yorsh
Subject: ICE when calculate insn latency for armv7e-m arch in O2 level > > Greta, > > Since this checkin, GCC ICE when build fix-point library with > -march=armv7e-m -O2. Reduced test case at > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 > > This is a show-stop

ICE when calculate insn latency for armv7e-m arch in O2 level

2012-07-06 Thread Joey Ye
Greta, Since this checkin, GCC ICE when build fix-point library with -march=armv7e-m -O2. Reduced test case at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 This is a show-stopper to cortex-m4 target. URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188742 Log: The main func

Re: Validity of __asm__ transformation with "m" reference

2011-07-04 Thread Paulo César Pereira de Andrade
Jakub Jelinek wrote: > On Mon, Jul 04, 2011 at 03:49:58PM +0200, Michael Matz wrote: >> > But you said the operand is an int sized memory, while you expect >> > 4 times as big data with different alignment. >> > So you want "m"(*(__m128d *)) (or "m

Re: Validity of __asm__ transformation with "m" reference

2011-07-04 Thread Michael Matz
Hi, On Mon, 4 Jul 2011, Jakub Jelinek wrote: > No, what you can get out of that is e.g. optimizing away otherwise unneeded > large variable. > Consider: > static const int i[131072] = { 1, 2, 3, 4, 5 }; > void foo (void) > { > __asm volatile ("" : : "m&qu

Re: Validity of __asm__ transformation with "m" reference

2011-07-04 Thread Jakub Jelinek
On Mon, Jul 04, 2011 at 03:49:58PM +0200, Michael Matz wrote: > > But you said the operand is an int sized memory, while you expect > > 4 times as big data with different alignment. > > So you want "m"(*(__m128d *)) (or "m"(*(__m128i *)) ). > >

Re: Validity of __asm__ transformation with "m" reference

2011-07-04 Thread Michael Matz
Hi, On Fri, 1 Jul 2011, Jakub Jelinek wrote: > > GCC turns this into: > > "movaps%0, %%xmm0 > > shufps$27, %%xmm0, %%xmm0 > > movaps%1, %%xmm5 > > movaps %%xmm5, %%xmm6 > > " : : "m" costab_mmx[

Re: Validity of __asm__ transformation with "m" reference

2011-07-01 Thread Martin Thuresson
question can be found in mplayer/mp3lib/dct64_sse.c >> >>           "movaps    %0, %%xmm0\n\t" >>           "shufps    $27, %%xmm0, %%xmm0\n\t" >>           "movaps    %1, %%xmm5\n\t" >>           "movaps    %%xmm5, %%xmm6\n\t"

Re: Validity of __asm__ transformation with "m" reference

2011-07-01 Thread Jakub Jelinek
uot;movaps%0, %%xmm0\n\t" > "shufps$27, %%xmm0, %%xmm0\n\t" > "movaps%1, %%xmm5\n\t" > "movaps%%xmm5, %%xmm6\n\t" > : > :"m"(*costab), "m"(*) > > where n

Validity of __asm__ transformation with "m" reference

2011-07-01 Thread Martin Thuresson
"movaps%1, %%xmm5\n\t" "movaps%%xmm5, %%xmm6\n\t" : :"m"(*costab), "m"(*) where is static const int [4] __attribute__((aligned(16))) = { 1 << 31, 1 << 31, 1 << 31, 1 << 31 }; GCC tur

Re: volatile and R/M/W operations

2007-12-03 Thread Robert Dewar
OK for the latter, why not? There was certainly a time when it would not, because a R/M/W cycle on a device register meant a different thing that a read followed by a write and the latter is more clearly what the above is supposed to represent. Whether there is still such hardware around is anothe

Re: volatile and R/M/W operations

2007-12-03 Thread Richard Kenner
t; > I think it would still be OK for the latter, why not? There was certainly a time when it would not, because a R/M/W cycle on a device register meant a different thing that a read followed by a write and the latter is more clearly what the above is supposed to represent. Whether there is

Re: volatile and R/M/W operations

2007-12-03 Thread Robert Dewar
Richard Kenner wrote: Right, but it would seem this is a good canididate for combination. This is especially true since often Volatile is used with the sense of Atomic in Ada, and it is not a bad idea to combine these in practice, giving an atomic update (right, nothing in the language requires i

Re: volatile and R/M/W operations

2007-12-03 Thread Richard Kenner
> Right, but it would seem this is a good canididate for combination. This > is especially true since often Volatile is used with the sense of Atomic > in Ada, and it is not a bad idea to combine these in practice, giving an > atomic update (right, nothing in the language requires it, but it is > d

Re: volatile and R/M/W operations

2007-12-03 Thread Robert Dewar
Richard Kenner wrote: OK, sounds reasonable, but then I don't understand the logic behind avoiding this instruction sequence for the volatile case, this is two accesses at the bus level so what's the difference? There's no difference from that perspective. The logic behind what's generated is

Re: volatile and R/M/W operations

2007-12-03 Thread Richard Kenner
> OK, sounds reasonable, but then I don't understand the logic behind > avoiding this instruction sequence for the volatile case, this is > two accesses at the bus level so what's the difference? There's no difference from that perspective. The logic behind what's generated is that instead of tr

Re: volatile and R/M/W operations

2007-12-02 Thread Robert Dewar
Samuel Tardieu wrote: For this pattern (isolated setting of one bit in the middle of a byte at a random memory location), this is the best code on this platform AFAIK. As an evidence, if you mark neither variable as volatile GCC generates with -O3 -fomit-frame-pointer: f: orb $16,

Re: volatile and R/M/W operations

2007-12-02 Thread Samuel Tardieu
On 1/12, Robert Dewar wrote: >> I cannot see a reason not to use "orb $32,y" here instead of a three >> steps read/modify/write operation. Is this only a missed optimization? >> (in which case I will open a PR) > > Are you sure it is an optimization, the timing on these things is > very subtle. W

Re: volatile and R/M/W operations

2007-12-01 Thread Robert Dewar
Samuel Tardieu wrote: When looking at an Ada PR, I stumbled upon the equivalent of the following C code: unsigned char x; volatile unsigned char y; void f () { x |= 16; y |= 32; } With trunk/i686, the following code is generated (-O3 -fomit-frame-pointer): f: movzbl y

Re: volatile and R/M/W operations

2007-11-30 Thread Richard Kenner
> volatile unsigned char y; > void f () > { > y |= 32; > } > > I cannot see a reason not to use "orb $32,y" here instead of a three > steps read/modify/write operation. Is this only a missed optimization? No, it's purposeful. The idea was that this is completely equivalent to y =

volatile and R/M/W operations

2007-11-30 Thread Samuel Tardieu
When looking at an Ada PR, I stumbled upon the equivalent of the following C code: unsigned char x; volatile unsigned char y; void f () { x |= 16; y |= 32; } With trunk/i686, the following code is generated (-O3 -fomit-frame-pointer): f: movzbl y, %eax orb $

Re: preventing -m options being passed to the compiler

2007-06-20 Thread Andrew Pinski
On 6/20/07, Ben Elliston <[EMAIL PROTECTED]> wrote: To now answer my own question (for the benefit of others): the CC1_SPEC string can include the sequence % This is not a good way, the best way is to create a dumby -moption in the target.opt file so you get the documentation with --help. -- Pi

Re: preventing -m options being passed to the compiler

2007-06-19 Thread Ben Elliston
On Wed, 2007-06-20 at 10:44 +1000, Ben Elliston wrote: > I have a -m option that I am handling in a LIB_SPEC that I do not want > passed down to cc1. It seems that by default, the driver passes all -m > options to cc1. Is there a way to prevent that on a per-option basis? To now answ

preventing -m options being passed to the compiler

2007-06-19 Thread Ben Elliston
I have a -m option that I am handling in a LIB_SPEC that I do not want passed down to cc1. It seems that by default, the driver passes all -m options to cc1. Is there a way to prevent that on a per-option basis? Thanks, Ben

Re: Why use pentium4 for Pentium M?

2007-02-26 Thread H. J. Lu
On Tue, Feb 27, 2007 at 12:30:16PM +0800, Zuxy Meng wrote: > Hi, > > -march=native choose pentium4 instead of pentium-m for Pentium M processors > (see config/i386/driver-i386.c)? Is this intentional or a typo? > It is because Pentium M implements Pentium instructions. You sh

Re: Why use pentium4 for Pentium M?

2007-02-26 Thread Paolo Bonzini
Zuxy Meng wrote: Hi, -march=native choose pentium4 instead of pentium-m for Pentium M processors (see config/i386/driver-i386.c)? Is this intentional or a typo? I think the reason is that Intel changed completely the microarchitecture (going back to something that actually is more similar

Why use pentium4 for Pentium M?

2007-02-26 Thread Zuxy Meng
Hi, -march=native choose pentium4 instead of pentium-m for Pentium M processors (see config/i386/driver-i386.c)? Is this intentional or a typo? -- Zuxy

Re: -m{arch,tune}=native and Core Duo

2006-12-01 Thread H. J. Lu
On Fri, Dec 01, 2006 at 06:43:46AM -0800, H. J. Lu wrote: > On Fri, Dec 01, 2006 at 03:36:59AM -0600, Ryan Hill wrote: > > Currently, the way the native CPU detection code in driver-i386.c > > is set up, using -m{arch,tune}=native with an Intel Core Duo (*not > > Core 2 Duo*)

Re: -m{arch,tune}=native and Core Duo

2006-12-01 Thread H. J. Lu
On Fri, Dec 01, 2006 at 03:36:59AM -0600, Ryan Hill wrote: > Currently, the way the native CPU detection code in driver-i386.c > is set up, using -m{arch,tune}=native with an Intel Core Duo (*not > Core 2 Duo*) processor will result in -m{arch,tune}=prescott. Is this > the correct

-m{arch,tune}=native and Core Duo

2006-12-01 Thread Ryan Hill
Currently, the way the native CPU detection code in driver-i386.c is set up, using -m{arch,tune}=native with an Intel Core Duo (*not Core 2 Duo*) processor will result in -m{arch,tune}=prescott. Is this the correct setting for this chip? There seems to be a lot of confusion across the net as to

Re: about gcc -XLinker -M

2005-03-01 Thread Mike Stump
On Feb 26, 2005, at 8:01 AM, [EMAIL PROTECTED] wrote: gcc -XLinker -M test.c 2>test.map would output some usful information about locating function to lib and ... The detail analyze of them would be very useful. Where can I find some introduce document about them? This list isn't

RE:about gcc -XLinker -M

2005-02-26 Thread gan_xiao_jun
for example, I want to locate the which lib is linked for fprintf v===test.c===v #include main() { doit(); } doit() { fprintf(stderr,"=="); } ^^^ I run gcc -Xlinker -M test.c 2>map

about gcc -XLinker -M

2005-02-26 Thread gan_xiao_jun
Hi, gcc -XLinker -M test.c 2>test.map would output some usful information about locating function to lib and ... The detail analyze of them would be very useful. Where can I find some introduce document about them? Thanks in advance. gan __

Re: How to get m/c dependent attributes from RTL (expressions, not a variable)?

2005-02-11 Thread James E Wilson
Balaji S wrote: Can you please tell me how to get these attributes while emitting RTL? My requirement is, need the newly introduced attributes while doing memory access. It depends on what you are doing, and you might need to write new code to be able to do it. See for instance TARGET_ENCODE_SE

Re: How to get m/c dependent attributes from RTL (expressions, not a variable)?

2005-02-10 Thread Balaji S
_On 10-Feb-2005 08:36, James E Wilson san wrote_: Balaji S wrote: I have introduced m/c dependent attributes and handling it's semantics via the attribute's handler. And i want to use these attributes during assembly printing from RTL. How to get these attributes? This isn't how