projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve error recovery in parse_asm_statement() and do not return an error statement.
[cparser]
/
adt
/
bitfiddle.h
diff --git
a/adt/bitfiddle.h
b/adt/bitfiddle.h
index
628dd77
..
8cbb14c
100644
(file)
--- a/
adt/bitfiddle.h
+++ b/
adt/bitfiddle.h
@@
-1,6
+1,6
@@
/*
* This file is part of cparser.
/*
* This file is part of cparser.
- * Copyright (C) 2007-200
8
Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-200
9
Matthias Braun <matze@braunis.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@
-23,7
+23,6
@@
* @date 28.9.2004
* @brief Functions from hackers delight.
* @author Sebastian Hack, Matthias Braun
* @date 28.9.2004
* @brief Functions from hackers delight.
* @author Sebastian Hack, Matthias Braun
- * @version $Id$
*/
#ifndef _FIRM_BITFIDDLE_H_
#define _FIRM_BITFIDDLE_H_
*/
#ifndef _FIRM_BITFIDDLE_H_
#define _FIRM_BITFIDDLE_H_
@@
-100,7
+99,7
@@
unsigned nlz(unsigned x) {
: "r" (x));
return 31 - res;
#else
: "r" (x));
return 31 - res;
#else
- x |= x >> 1;
+ x |= x >> 1;
x |= x >> 2;
x |= x >> 4;
x |= x >> 8;
x |= x >> 2;
x |= x >> 4;
x |= x >> 8;