Changeset 8ac3549 in rtems


Ignore:
Timestamp:
Mar 4, 2015, 3:13:49 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
18d0a49
Parents:
3358d62
git-author:
Sebastian Huber <sebastian.huber@…> (03/04/15 15:13:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/05/15 07:12:24)
Message:

score: Delete unused CPU_UNROLL_ENQUEUE_PRIORITY

Location:
cpukit/score/cpu
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r3358d62 r8ac3549  
    113113  #error "unknown endianness"
    114114#endif
    115 
    116 #define CPU_UNROLL_ENQUEUE_PRIORITY TRUE
    117115
    118116/*
  • cpukit/score/cpu/avr/rtems/score/cpu.h

    r3358d62 r8ac3549  
    5656
    5757#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    58 
    59 /*
    60  *  Should the body of the search loops in _Thread_queue_Enqueue_priority
    61  *  be unrolled one time?  In unrolled each iteration of the loop examines
    62  *  two "nodes" on the chain being searched.  Otherwise, only one node
    63  *  is examined per iteration.
    64  *
    65  *  If TRUE, then the loops are unrolled.
    66  *  If FALSE, then the loops are not unrolled.
    67  *
    68  *  The primary factor in making this decision is the cost of disabling
    69  *  and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    70  *  body of the loop.  On some CPUs, the flash is more expensive than
    71  *  one iteration of the loop body.  In this case, it might be desirable
    72  *  to unroll the loop.  It is important to note that on some CPUs, this
    73  *  code is the longest interrupt disable period in RTEMS.  So it is
    74  *  necessary to strike a balance when setting this parameter.
    75  *
    76  *  AVR Specific Information:
    77  *
    78  *  XXX document implementation including references if appropriate
    79  */
    80 
    81 #define CPU_UNROLL_ENQUEUE_PRIORITY      FALSE
    8258
    8359/*
  • cpukit/score/cpu/bfin/rtems/score/cpu.h

    r3358d62 r8ac3549  
    5353 */
    5454#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    55 
    56 /**
    57  * Should the body of the search loops in _Thread_queue_Enqueue_priority
    58  * be unrolled one time?  In unrolled each iteration of the loop examines
    59  * two "nodes" on the chain being searched.  Otherwise, only one node
    60  * is examined per iteration.
    61  *
    62  * If TRUE, then the loops are unrolled.
    63  * If FALSE, then the loops are not unrolled.
    64  *
    65  * The primary factor in making this decision is the cost of disabling
    66  * and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    67  * body of the loop.  On some CPUs, the flash is more expensive than
    68  * one iteration of the loop body.  In this case, it might be desirable
    69  * to unroll the loop.  It is important to note that on some CPUs, this
    70  * code is the longest interrupt disable period in RTEMS.  So it is
    71  * necessary to strike a balance when setting this parameter.
    72  *
    73  * Port Specific Information:
    74  *
    75  * XXX document implementation including references if appropriate
    76  */
    77 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    7855
    7956/**
  • cpukit/score/cpu/h8300/rtems/score/cpu.h

    r3358d62 r8ac3549  
    5454
    5555#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    56 
    57 /*
    58  *  Should the body of the search loops in _Thread_queue_Enqueue_priority
    59  *  be unrolled one time?  In unrolled each iteration of the loop examines
    60  *  two "nodes" on the chain being searched.  Otherwise, only one node
    61  *  is examined per iteration.
    62  *
    63  *  If TRUE, then the loops are unrolled.
    64  *  If FALSE, then the loops are not unrolled.
    65  *
    66  *  The primary factor in making this decision is the cost of disabling
    67  *  and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    68  *  body of the loop.  On some CPUs, the flash is more expensive than
    69  *  one iteration of the loop body.  In this case, it might be desirable
    70  *  to unroll the loop.  It is important to note that on some CPUs, this
    71  *  code is the longest interrupt disable period in RTEMS.  So it is
    72  *  necessary to strike a balance when setting this parameter.
    73  *
    74  *  H8300 Specific Information:
    75  *
    76  *  XXX
    77  */
    78 
    79 #define CPU_UNROLL_ENQUEUE_PRIORITY      FALSE
    8056
    8157/*
  • cpukit/score/cpu/i386/rtems/score/cpu.h

    r3358d62 r8ac3549  
    3939
    4040#define CPU_INLINE_ENABLE_DISPATCH       TRUE
    41 #define CPU_UNROLL_ENQUEUE_PRIORITY      FALSE
    4241
    4342/*
  • cpukit/score/cpu/lm32/rtems/score/cpu.h

    r3358d62 r8ac3549  
    5151 */
    5252#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    53 
    54 /**
    55  * Should the body of the search loops in _Thread_queue_Enqueue_priority
    56  * be unrolled one time?  In unrolled each iteration of the loop examines
    57  * two "nodes" on the chain being searched.  Otherwise, only one node
    58  * is examined per iteration.
    59  *
    60  * If TRUE, then the loops are unrolled.
    61  * If FALSE, then the loops are not unrolled.
    62  *
    63  * The primary factor in making this decision is the cost of disabling
    64  * and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    65  * body of the loop.  On some CPUs, the flash is more expensive than
    66  * one iteration of the loop body.  In this case, it might be desirable
    67  * to unroll the loop.  It is important to note that on some CPUs, this
    68  * code is the longest interrupt disable period in RTEMS.  So it is
    69  * necessary to strike a balance when setting this parameter.
    70  *
    71  * Port Specific Information:
    72  *
    73  * XXX document implementation including references if appropriate
    74  */
    75 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    7653
    7754/**
  • cpukit/score/cpu/m32c/rtems/score/cpu.h

    r3358d62 r8ac3549  
    6767 */
    6868#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    69 
    70 /**
    71  * Should the body of the search loops in _Thread_queue_Enqueue_priority
    72  * be unrolled one time?  In unrolled each iteration of the loop examines
    73  * two "nodes" on the chain being searched.  Otherwise, only one node
    74  * is examined per iteration.
    75  *
    76  * If TRUE, then the loops are unrolled.
    77  * If FALSE, then the loops are not unrolled.
    78  *
    79  * The primary factor in making this decision is the cost of disabling
    80  * and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    81  * body of the loop.  On some CPUs, the flash is more expensive than
    82  * one iteration of the loop body.  In this case, it might be desirable
    83  * to unroll the loop.  It is important to note that on some CPUs, this
    84  * code is the longest interrupt disable period in RTEMS.  So it is
    85  * necessary to strike a balance when setting this parameter.
    86  *
    87  * Port Specific Information:
    88  *
    89  * XXX document implementation including references if appropriate
    90  */
    91 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    9269
    9370/**
  • cpukit/score/cpu/m32r/rtems/score/cpu.h

    r3358d62 r8ac3549  
    6363 */
    6464#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    65 
    66 /**
    67  * Should the body of the search loops in _Thread_queue_Enqueue_priority
    68  * be unrolled one time?  In unrolled each iteration of the loop examines
    69  * two "nodes" on the chain being searched.  Otherwise, only one node
    70  * is examined per iteration.
    71  *
    72  * If TRUE, then the loops are unrolled.
    73  * If FALSE, then the loops are not unrolled.
    74  *
    75  * The primary factor in making this decision is the cost of disabling
    76  * and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    77  * body of the loop.  On some CPUs, the flash is more expensive than
    78  * one iteration of the loop body.  In this case, it might be desirable
    79  * to unroll the loop.  It is important to note that on some CPUs, this
    80  * code is the longest interrupt disable period in RTEMS.  So it is
    81  * necessary to strike a balance when setting this parameter.
    82  *
    83  * Port Specific Information:
    84  *
    85  * XXX document implementation including references if appropriate
    86  */
    87 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    8865
    8966/**
  • cpukit/score/cpu/m68k/rtems/score/cpu.h

    r3358d62 r8ac3549  
    3030
    3131#define CPU_INLINE_ENABLE_DISPATCH       TRUE
    32 #define CPU_UNROLL_ENQUEUE_PRIORITY      FALSE
    3332
    3433/*
  • cpukit/score/cpu/mips/rtems/score/cpu.h

    r3358d62 r8ac3549  
    8080
    8181#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    82 
    83 /*
    84  *  Should the body of the search loops in _Thread_queue_Enqueue_priority
    85  *  be unrolled one time?  In unrolled each iteration of the loop examines
    86  *  two "nodes" on the chain being searched.  Otherwise, only one node
    87  *  is examined per iteration.
    88  *
    89  *  If TRUE, then the loops are unrolled.
    90  *  If FALSE, then the loops are not unrolled.
    91  *
    92  *  The primary factor in making this decision is the cost of disabling
    93  *  and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    94  *  body of the loop.  On some CPUs, the flash is more expensive than
    95  *  one iteration of the loop body.  In this case, it might be desirable
    96  *  to unroll the loop.  It is important to note that on some CPUs, this
    97  *  code is the longest interrupt disable period in RTEMS.  So it is
    98  *  necessary to strike a balance when setting this parameter.
    99  */
    100 
    101 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    10282
    10383/*
  • cpukit/score/cpu/moxie/rtems/score/cpu.h

    r3358d62 r8ac3549  
    5353 */
    5454#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    55 
    56 /*
    57  *  Should the body of the search loops in _Thread_queue_Enqueue_priority
    58  *  be unrolled one time?  In unrolled each iteration of the loop examines
    59  *  two "nodes" on the chain being searched.  Otherwise, only one node
    60  *  is examined per iteration.
    61  *
    62  *  If TRUE, then the loops are unrolled.
    63  *  If FALSE, then the loops are not unrolled.
    64  *
    65  *  The primary factor in making this decision is the cost of disabling
    66  *  and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    67  *  body of the loop.  On some CPUs, the flash is more expensive than
    68  *  one iteration of the loop body.  In this case, it might be desirable
    69  *  to unroll the loop.  It is important to note that on some CPUs, this
    70  *  code is the longest interrupt disable period in RTEMS.  So it is
    71  *  necessary to strike a balance when setting this parameter.
    72  *
    73  *  MOXIE Specific Information:
    74  *
    75  *  XXX
    76  */
    77 #define CPU_UNROLL_ENQUEUE_PRIORITY      FALSE
    7855
    7956/*
  • cpukit/score/cpu/nios2/rtems/score/cpu.h

    r3358d62 r8ac3549  
    3232 */
    3333#define CPU_INLINE_ENABLE_DISPATCH FALSE
    34 
    35 /*
    36  * TODO: Run the timing tests and figure out what is better.
    37  */
    38 #define CPU_UNROLL_ENQUEUE_PRIORITY TRUE
    3934
    4035#define CPU_HAS_SOFTWARE_INTERRUPT_STACK TRUE
  • cpukit/score/cpu/no_cpu/rtems/score/cpu.h

    r3358d62 r8ac3549  
    6868 */
    6969#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    70 
    71 /**
    72  * Should the body of the search loops in _Thread_queue_Enqueue_priority
    73  * be unrolled one time?  In unrolled each iteration of the loop examines
    74  * two "nodes" on the chain being searched.  Otherwise, only one node
    75  * is examined per iteration.
    76  *
    77  * If TRUE, then the loops are unrolled.
    78  * If FALSE, then the loops are not unrolled.
    79  *
    80  * The primary factor in making this decision is the cost of disabling
    81  * and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    82  * body of the loop.  On some CPUs, the flash is more expensive than
    83  * one iteration of the loop body.  In this case, it might be desirable
    84  * to unroll the loop.  It is important to note that on some CPUs, this
    85  * code is the longest interrupt disable period in RTEMS.  So it is
    86  * necessary to strike a balance when setting this parameter.
    87  *
    88  * Port Specific Information:
    89  *
    90  * XXX document implementation including references if appropriate
    91  */
    92 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    9370
    9471/**
  • cpukit/score/cpu/or1k/rtems/score/cpu.h

    r3358d62 r8ac3549  
    5959
    6060#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    61 
    62 /*
    63  *  Should the body of the search loops in _Thread_queue_Enqueue_priority
    64  *  be unrolled one time?  In unrolled each iteration of the loop examines
    65  *  two "nodes" on the chain being searched.  Otherwise, only one node
    66  *  is examined per iteration.
    67  *
    68  *  If TRUE, then the loops are unrolled.
    69  *  If FALSE, then the loops are not unrolled.
    70  *
    71  *  The primary factor in making this decision is the cost of disabling
    72  *  and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    73  *  body of the loop.  On some CPUs, the flash is more expensive than
    74  *  one iteration of the loop body.  In this case, it might be desirable
    75  *  to unroll the loop.  It is important to note that on some CPUs, this
    76  *  code is the longest interrupt disable period in RTEMS.  So it is
    77  *  necessary to strike a balance when setting this parameter.
    78  *
    79  */
    80 
    81 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    8261
    8362/*
  • cpukit/score/cpu/powerpc/rtems/score/cpu.h

    r3358d62 r8ac3549  
    6868
    6969#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    70 
    71 /*
    72  *  Should the body of the search loops in _Thread_queue_Enqueue_priority
    73  *  be unrolled one time?  In unrolled each iteration of the loop examines
    74  *  two "nodes" on the chain being searched.  Otherwise, only one node
    75  *  is examined per iteration.
    76  *
    77  *  If TRUE, then the loops are unrolled.
    78  *  If FALSE, then the loops are not unrolled.
    79  *
    80  *  The primary factor in making this decision is the cost of disabling
    81  *  and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    82  *  body of the loop.  On some CPUs, the flash is more expensive than
    83  *  one iteration of the loop body.  In this case, it might be desirable
    84  *  to unroll the loop.  It is important to note that on some CPUs, this
    85  *  code is the longest interrupt disable period in RTEMS.  So it is
    86  *  necessary to strike a balance when setting this parameter.
    87  */
    88 
    89 #define CPU_UNROLL_ENQUEUE_PRIORITY      FALSE
    9070
    9171/*
  • cpukit/score/cpu/sh/rtems/score/cpu.h

    r3358d62 r8ac3549  
    5555
    5656#define CPU_INLINE_ENABLE_DISPATCH       FALSE
    57 
    58 /*
    59  *  Should the body of the search loops in _Thread_queue_Enqueue_priority
    60  *  be unrolled one time?  In unrolled each iteration of the loop examines
    61  *  two "nodes" on the chain being searched.  Otherwise, only one node
    62  *  is examined per iteration.
    63  *
    64  *  If TRUE, then the loops are unrolled.
    65  *  If FALSE, then the loops are not unrolled.
    66  *
    67  *  The primary factor in making this decision is the cost of disabling
    68  *  and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    69  *  body of the loop.  On some CPUs, the flash is more expensive than
    70  *  one iteration of the loop body.  In this case, it might be desirable
    71  *  to unroll the loop.  It is important to note that on some CPUs, this
    72  *  code is the longest interrupt disable period in RTEMS.  So it is
    73  *  necessary to strike a balance when setting this parameter.
    74  */
    75 
    76 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    7757
    7858/*
  • cpukit/score/cpu/sparc/rtems/score/cpu.h

    r3358d62 r8ac3549  
    3838 */
    3939#define CPU_INLINE_ENABLE_DISPATCH       TRUE
    40 
    41 /**
    42  * Should the body of the search loops in _Thread_queue_Enqueue_priority
    43  * be unrolled one time?  In unrolled each iteration of the loop examines
    44  * two "nodes" on the chain being searched.  Otherwise, only one node
    45  * is examined per iteration.
    46  *
    47  * - If TRUE, then the loops are unrolled.
    48  * - If FALSE, then the loops are not unrolled.
    49  *
    50  * This parameter could go either way on the SPARC.  The interrupt flash
    51  * code is relatively lengthy given the requirements for nops following
    52  * writes to the psr.  But if the clock speed were high enough, this would
    53  * not represent a great deal of time.
    54  */
    55 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    5640
    5741/**
  • cpukit/score/cpu/sparc64/rtems/score/cpu.h

    r3358d62 r8ac3549  
    4242
    4343#define CPU_INLINE_ENABLE_DISPATCH       TRUE
    44 
    45 /*
    46  *  Should the body of the search loops in _Thread_queue_Enqueue_priority
    47  *  be unrolled one time?  In unrolled each iteration of the loop examines
    48  *  two "nodes" on the chain being searched.  Otherwise, only one node
    49  *  is examined per iteration.
    50  *
    51  *  If TRUE, then the loops are unrolled.
    52  *  If FALSE, then the loops are not unrolled.
    53  *
    54  *  This parameter could go either way on the SPARC.  The interrupt flash
    55  *  code is relatively lengthy given the requirements for nops following
    56  *  writes to the psr.  But if the clock speed were high enough, this would
    57  *  not represent a great deal of time.
    58  */
    59 
    60 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    6144
    6245/*
  • cpukit/score/cpu/v850/rtems/score/cpu.h

    r3358d62 r8ac3549  
    5252 */
    5353#define CPU_INLINE_ENABLE_DISPATCH       TRUE
    54 
    55 /**
    56  * Should the body of the search loops in _Thread_queue_Enqueue_priority
    57  * be unrolled one time?  In unrolled each iteration of the loop examines
    58  * two "nodes" on the chain being searched.  Otherwise, only one node
    59  * is examined per iteration.
    60  *
    61  * If TRUE, then the loops are unrolled.
    62  * If FALSE, then the loops are not unrolled.
    63  *
    64  * The primary factor in making this decision is the cost of disabling
    65  * and enabling interrupts (_ISR_Flash) versus the cost of rest of the
    66  * body of the loop.  On some CPUs, the flash is more expensive than
    67  * one iteration of the loop body.  In this case, it might be desirable
    68  * to unroll the loop.  It is important to note that on some CPUs, this
    69  * code is the longest interrupt disable period in RTEMS.  So it is
    70  * necessary to strike a balance when setting this parameter.
    71  *
    72  * Port Specific Information:
    73  *
    74  * The v850 is a RISC CPU which typically has enough memory to justify
    75  * the unrolling of this method.
    76  */
    77 #define CPU_UNROLL_ENQUEUE_PRIORITY      TRUE
    7854
    7955/**
Note: See TracChangeset for help on using the changeset viewer.