Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-04 Thread Joerg Sonnenberger
On Wed, Mar 04, 2015 at 03:00:38PM +, Christos Zoulas wrote:
 In article 20150304142628.gb3...@britannica.bec.de,
 Joerg Sonnenberger  jo...@britannica.bec.de wrote:
 
 It is installed. Check the set lists.
 
 My question was more like does every compiler supposed to provide it for x86,
 or it is considered an extension?

If they are care about support for vector engines, yes. I don't think
you will find it in PCC or TCC for example.

Joerg


Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-04 Thread Christos Zoulas
In article 20150304165518.ga10...@britannica.bec.de,
Joerg Sonnenberger  jo...@britannica.bec.de wrote:
On Wed, Mar 04, 2015 at 03:00:38PM +, Christos Zoulas wrote:
 In article 20150304142628.gb3...@britannica.bec.de,
 Joerg Sonnenberger  jo...@britannica.bec.de wrote:
 
 It is installed. Check the set lists.
 
 My question was more like does every compiler supposed to provide it for x86,
 or it is considered an extension?

If they are care about support for vector engines, yes. I don't think
you will find it in PCC or TCC for example.

So should I just
#ifndef __lint__
it?

christos



Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-04 Thread Joerg Sonnenberger
On Wed, Mar 04, 2015 at 10:19:00PM +, Christos Zoulas wrote:
 In article 20150304165518.ga10...@britannica.bec.de,
 Joerg Sonnenberger  jo...@britannica.bec.de wrote:
 On Wed, Mar 04, 2015 at 03:00:38PM +, Christos Zoulas wrote:
  In article 20150304142628.gb3...@britannica.bec.de,
  Joerg Sonnenberger  jo...@britannica.bec.de wrote:
  
  It is installed. Check the set lists.
  
  My question was more like does every compiler supposed to provide it for 
  x86,
  or it is considered an extension?
 
 If they are care about support for vector engines, yes. I don't think
 you will find it in PCC or TCC for example.
 
 So should I just
 #ifndef __lint__
 it?

And maybe PCC :)

Joerg


Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-04 Thread Iain Hibbert
On Thu, 5 Mar 2015, Joerg Sonnenberger wrote:

 On Wed, Mar 04, 2015 at 10:19:00PM +, Christos Zoulas wrote:
  In article 20150304165518.ga10...@britannica.bec.de,
  Joerg Sonnenberger  jo...@britannica.bec.de wrote:
  On Wed, Mar 04, 2015 at 03:00:38PM +, Christos Zoulas wrote:
   In article 20150304142628.gb3...@britannica.bec.de,
   Joerg Sonnenberger  jo...@britannica.bec.de wrote:
  
   It is installed. Check the set lists.
  
   My question was more like does every compiler supposed to provide it for 
   x86,
   or it is considered an extension?
  
  If they are care about support for vector engines, yes. I don't think
  you will find it in PCC or TCC for example.
 
  So should I just
  #ifndef __lint__
  it?

 And maybe PCC :)

please don't just add things like that because you aren't sure that PCC
currently supports it. That may or not be an issue, but if it is hidden
then it will be hidden. If something is a feature but non standard, then
lets use a feature test macro to include it

iain



Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-04 Thread Joerg Sonnenberger
On Tue, Mar 03, 2015 at 10:19:02PM -0500, Christos Zoulas wrote:
 On Mar 4,  9:19am, m...@eterna.com.au (matthew green) wrote:
 -- Subject: re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main
 
 | 
 | Christos Zoulas writes:
 |  Module Name:  xsrc
 |  Committed By: christos
 |  Date: Tue Mar  3 21:32:27 UTC 2015
 |  
 |  Modified Files:
 |xsrc/external/mit/MesaLib/dist/src/mesa/main: imports.h
 |  
 |  Log Message:
 |  xmmintrin.h is a gcc-specific header
 | 
 | it is?
 
 /usr/include/gcc-4.8/xmmintrin.h

That makes it a compiler *provided* header. Note that on default GCC
installations, even stddef.h comes from it.

 | -rw-r--r--  1 mrg  wheel  27578 Feb 12 07:49 
 src/external/bsd/llvm/dist/clang/lib/Headers/xmmintrin.h
 
 Should it be exposed to the implementation?

It is installed. Check the set lists.

Joerg


Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-04 Thread Christos Zoulas
In article 20150304142628.gb3...@britannica.bec.de,
Joerg Sonnenberger  jo...@britannica.bec.de wrote:

It is installed. Check the set lists.

My question was more like does every compiler supposed to provide it for x86,
or it is considered an extension?

christos



re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-03 Thread matthew green

Christos Zoulas writes:
 Module Name:  xsrc
 Committed By: christos
 Date: Tue Mar  3 21:32:27 UTC 2015
 
 Modified Files:
   xsrc/external/mit/MesaLib/dist/src/mesa/main: imports.h
 
 Log Message:
 xmmintrin.h is a gcc-specific header

it is?

-rw-r--r--  1 mrg  wheel  27578 Feb 12 07:49 
src/external/bsd/llvm/dist/clang/lib/Headers/xmmintrin.h


.mrg.


Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-03 Thread Joerg Sonnenberger
On Wed, Mar 04, 2015 at 09:19:01AM +1100, matthew green wrote:
 
 Christos Zoulas writes:
  Module Name:xsrc
  Committed By:   christos
  Date:   Tue Mar  3 21:32:27 UTC 2015
  
  Modified Files:
  xsrc/external/mit/MesaLib/dist/src/mesa/main: imports.h
  
  Log Message:
  xmmintrin.h is a gcc-specific header
 
 it is?
 
 -rw-r--r--  1 mrg  wheel  27578 Feb 12 07:49 
 src/external/bsd/llvm/dist/clang/lib/Headers/xmmintrin.h

Even ICC supports it :)

Joerg


re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2015-03-03 Thread Christos Zoulas
On Mar 4,  9:19am, m...@eterna.com.au (matthew green) wrote:
-- Subject: re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

| 
| Christos Zoulas writes:
|  Module Name:xsrc
|  Committed By:   christos
|  Date:   Tue Mar  3 21:32:27 UTC 2015
|  
|  Modified Files:
|  xsrc/external/mit/MesaLib/dist/src/mesa/main: imports.h
|  
|  Log Message:
|  xmmintrin.h is a gcc-specific header
| 
| it is?

/usr/include/gcc-4.8/xmmintrin.h

| -rw-r--r--  1 mrg  wheel  27578 Feb 12 07:49 
src/external/bsd/llvm/dist/clang/lib/Headers/xmmintrin.h

Should it be exposed to the implementation?

christos


Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2014-12-31 Thread David Laight
On Tue, Dec 30, 2014 at 05:58:06PM -0500, Christos Zoulas wrote:
 Modified Files:
   xsrc/external/mit/MesaLib/dist/src/mesa/main: format_utils.c
 
 Log Message:
 The macros in this file generate a gigantic function that takes a long time
 to compile and a ton of memory. Split it per datatype so that each is 1/8th
 the size. On my 48GB amd64 box this results in 3x speedup.

What happens at run time ?
Sounds like somethink that is being inlined so much that it
will displace everything from the cache and run slowly because
it is always waiting for instruction fetches.

David

-- 
David Laight: da...@l8s.co.uk


Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2014-12-31 Thread Christos Zoulas
In article 20141231101118.gb2...@snowdrop.l8s.co.uk,
David Laight  da...@l8s.co.uk wrote:
On Tue, Dec 30, 2014 at 05:58:06PM -0500, Christos Zoulas wrote:
 Modified Files:
  xsrc/external/mit/MesaLib/dist/src/mesa/main: format_utils.c
 
 Log Message:
 The macros in this file generate a gigantic function that takes a long time
 to compile and a ton of memory. Split it per datatype so that each is 1/8th
 the size. On my 48GB amd64 box this results in 3x speedup.

What happens at run time ?
Sounds like somethink that is being inlined so much that it
will displace everything from the cache and run slowly because
it is always waiting for instruction fetches.

I agree, but fixing this problem requires a complete rewrite. I was just
trying to fix the build :-)

christos