Commit Graph

4 Commits

Author SHA1 Message Date
H. Peter Anvin
28711d949a directives.pl: trivial formatting fix
Fix whitespace alignment.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-04-07 16:56:24 -07:00
H. Peter Anvin
8adfa72441 directives.pl: compensate for *two* specials, not just one
We need to compensate the index for two specials, not just one.  While
we're at it, actually derive the number of specials from the list.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-04-07 16:53:33 -07:00
H. Peter Anvin
888964a880 Distinguish no directive present from unknown directive
Distinguish the case of no directive present (D_none) from the case of
an unknown specified directive (D_unknown).  This is reflected in
different error messages.

Furthermore, change the special case symbols to lower case in case we
ever have a directive called [none] or [unknown].

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-04-06 17:00:12 -07:00
H. Peter Anvin
80e0f4d68f directives: split global directives from backend-specific ones
Split out the global directives into a separate section, that allows
the switch() in the main code to be slightly faster.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-13 14:57:48 -04:00